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

Unified Diff: content/browser/frame_host/render_frame_host_manager.cc

Issue 2877333004: UMA for measuring how often 2 or more tabs script the same background contents.
Patch Set: No PostDelayedTask and checking if opener is a hosted app Created 3 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
Index: content/browser/frame_host/render_frame_host_manager.cc
diff --git a/content/browser/frame_host/render_frame_host_manager.cc b/content/browser/frame_host/render_frame_host_manager.cc
index 42ee8bc75ae27ee8f7c2818f27a2b4536c46e797..f1f0096140beaef5ab89e19382eaf925c765ffa6 100644
--- a/content/browser/frame_host/render_frame_host_manager.cc
+++ b/content/browser/frame_host/render_frame_host_manager.cc
@@ -535,6 +535,9 @@ void RenderFrameHostManager::DidChangeOpener(
source_site_instance) {
speculative_render_frame_host_->UpdateOpener();
}
+
+ frame_tree_node_->current_frame_host()->delegate()->DidChangeOpener(
+ frame_tree_node_, opener);
}
void RenderFrameHostManager::CommitPendingFramePolicy() {
« no previous file with comments | « content/browser/frame_host/render_frame_host_delegate.h ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698