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

Unified Diff: content/test/test_web_contents.cc

Issue 185993008: Moving DidFinishLoad from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes based on Charlie's review. Created 6 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_web_contents.h ('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 ec14917178ff15ffbe1a42f69c2eb12017aa76c1..76f30c539ffa45e659bc211a68456309506e3c87 100644
--- a/content/test/test_web_contents.cc
+++ b/content/test/test_web_contents.cc
@@ -207,11 +207,10 @@ void TestWebContents::SetHistoryLengthAndPrune(
EXPECT_EQ(expect_set_history_length_and_prune_min_page_id_, min_page_id);
}
-void TestWebContents::TestDidFinishLoad(int64 frame_id,
- const GURL& url,
+void TestWebContents::TestDidFinishLoad(const GURL& url,
bool is_main_frame) {
- ViewHostMsg_DidFinishLoad msg(0, frame_id, url, is_main_frame);
- OnMessageReceived(GetRenderViewHost(), msg);
+ FrameHostMsg_DidFinishLoad msg(0, url, is_main_frame);
+ frame_tree_.root()->current_frame_host()->OnMessageReceived(msg);
}
void TestWebContents::TestDidFailLoadWithError(
« no previous file with comments | « content/test/test_web_contents.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698