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

Unified Diff: content/renderer/render_view_impl.cc

Issue 275453002: Update WebFrameClient::didClearWindowObject API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months 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.h ('k') | content/renderer/web_ui_mojo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index ec7e834c46915952d0fcb11a705c748b270c1e5a..c7fe304ad8a009e708ed4ca535e67beab86d8166 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2219,13 +2219,9 @@ void RenderViewImpl::FrameDidCommitProvisionalLoad(WebLocalFrame* frame,
}
}
-void RenderViewImpl::didClearWindowObject(WebLocalFrame* frame, int world_id) {
- FOR_EACH_OBSERVER(RenderViewObserver, observers_,
- DidClearWindowObject(frame, world_id));
-
- // Only install controllers into the main world.
- if (world_id)
- return;
+void RenderViewImpl::didClearWindowObject(WebLocalFrame* frame) {
+ FOR_EACH_OBSERVER(
+ RenderViewObserver, observers_, DidClearWindowObject(frame));
if (enabled_bindings_& BINDINGS_POLICY_WEB_UI)
WebUIExtension::Install(frame);
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | content/renderer/web_ui_mojo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698