Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: extensions/browser/guest_view/guest_view_base.cc

Issue 801173002: Fix message routing for BrowserPlugin in iframe (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests that don't have a RenderThreadImpl Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | extensions/browser/guest_view/web_view/web_view_apitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/guest_view/guest_view_base.cc
diff --git a/extensions/browser/guest_view/guest_view_base.cc b/extensions/browser/guest_view/guest_view_base.cc
index 44626e86e4527aa2d4bd529e59a6c3581300591d..c7139857bacfefab33deb4b7d00b482912a923a3 100644
--- a/extensions/browser/guest_view/guest_view_base.cc
+++ b/extensions/browser/guest_view/guest_view_base.cc
@@ -322,7 +322,6 @@ void GuestViewBase::DidAttach(int guest_proxy_routing_id) {
// Inform the associated GuestViewContainer that the contentWindow is ready.
embedder_web_contents()->Send(new ExtensionMsg_GuestAttached(
- embedder_web_contents()->GetMainFrame()->GetRoutingID(),
element_instance_id_,
guest_proxy_routing_id));
@@ -334,7 +333,6 @@ void GuestViewBase::DidDetach() {
this, element_instance_id_);
StopTrackingEmbedderZoomLevel();
owner_web_contents()->Send(new ExtensionMsg_GuestDetached(
- owner_web_contents()->GetMainFrame()->GetRoutingID(),
element_instance_id_));
element_instance_id_ = guestview::kInstanceIDNone;
}
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | extensions/browser/guest_view/web_view/web_view_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698