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

Unified Diff: content/test/test_web_contents.cc

Issue 869533004: Fix WCO::RenderFrameCreated and WCO::RenderFrameDeleted notifications. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes for RenderFrameHostChanged. Created 5 years, 10 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/test/test_render_frame_host.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_web_contents.cc
diff --git a/content/test/test_web_contents.cc b/content/test/test_web_contents.cc
index be20dccb507c8de345d559b52d999f0d57b04b2b..7a732d077bc51b4606929e4e9ac366627ef360be 100644
--- a/content/test/test_web_contents.cc
+++ b/content/test/test_web_contents.cc
@@ -36,8 +36,16 @@ TestWebContents::TestWebContents(BrowserContext* browser_context)
TestWebContents* TestWebContents::Create(BrowserContext* browser_context,
SiteInstance* instance) {
+ LOG(ERROR) << "TWC[]::Create:";
+
TestWebContents* test_web_contents = new TestWebContents(browser_context);
test_web_contents->Init(WebContents::CreateParams(browser_context, instance));
+
+ test_web_contents->RenderFrameCreated(test_web_contents->GetMainFrame());
+ //test_web_contents->NotifyFrameSwapped(
+ // nullptr, test_web_contents->GetMainFrame());
+
+ LOG(ERROR) << "TWC[]::Create: complete";
return test_web_contents;
}
« no previous file with comments | « content/test/test_render_frame_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698