Commit 3807167a authored by Lukasz Anforowicz's avatar Lukasz Anforowicz Committed by Commit Bot

Always initialize |MimeHandlerViewFrameContainer::element_instance_id_|.

Bug: 966555
Change-Id: Ib75128520a9f20f68e336beee6d8e63b1e81bd29
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1627820
Auto-Submit: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: default avatarEhsan Karamad <ekaramad@chromium.org>
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Cr-Commit-Position: refs/heads/master@{#662952}
parent 466529d0
......@@ -5,6 +5,7 @@
#ifndef EXTENSIONS_RENDERER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_FRAME_CONTAINER_H_
#define EXTENSIONS_RENDERER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_FRAME_CONTAINER_H_
#include "components/guest_view/common/guest_view_constants.h"
#include "extensions/renderer/guest_view/mime_handler_view/post_message_support.h"
#include "third_party/blink/public/web/web_element.h"
......@@ -84,7 +85,7 @@ class MimeHandlerViewFrameContainer : public PostMessageSupport::Delegate {
const std::string mime_type_;
// The |element_instance_id| of the MimeHandlerViewGuest associated with this
// frame container. This is updated in DidLoad().
int32_t element_instance_id_;
int32_t element_instance_id_ = guest_view::kInstanceIDNone;
// The routing ID of the content frame (frame or proxy) and guest frame
// (proxy) which will be confirmed by the browser. Used to validate the
// destination for postMessage.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment