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

Unified Diff: content/test/test_render_view_host.cc

Issue 1258273006: Remove page id from title and state updating. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@switch
Patch Set: comment nit Created 4 years, 2 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_view_host.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_render_view_host.cc
diff --git a/content/test/test_render_view_host.cc b/content/test/test_render_view_host.cc
index 06692b20562502d41eac2597ede8121a60613ca0..56ffa6a6281de48f240d11aea5fc9af533bc4676 100644
--- a/content/test/test_render_view_host.cc
+++ b/content/test/test_render_view_host.cc
@@ -307,14 +307,13 @@ void TestRenderViewHost::TestOnStartDragging(
}
void TestRenderViewHost::TestOnUpdateStateWithFile(
- int page_id,
const base::FilePath& file_path) {
PageState state = PageState::CreateForTesting(GURL("http://www.google.com"),
false, "data", &file_path);
if (SiteIsolationPolicy::UseSubframeNavigationEntries()) {
static_cast<RenderFrameHostImpl*>(GetMainFrame())->OnUpdateState(state);
} else {
- OnUpdateState(page_id, state);
+ OnUpdateState(state);
}
}
« no previous file with comments | « content/test/test_render_view_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698