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

Unified Diff: content/test/test_render_view_host.cc

Issue 2648053002: Remove old session history logic. (Closed)
Patch Set: Remove comment. Created 3 years, 11 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/layouttest_support.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_render_view_host.cc
diff --git a/content/test/test_render_view_host.cc b/content/test/test_render_view_host.cc
index b03f7b89436d274fd7310f1dd92e87918c55bbcc..380ae45cdb2be6fa98694193141a001fcc6f28b8 100644
--- a/content/test/test_render_view_host.cc
+++ b/content/test/test_render_view_host.cc
@@ -17,7 +17,6 @@
#include "content/browser/site_instance_impl.h"
#include "content/common/dom_storage/dom_storage_types.h"
#include "content/common/frame_messages.h"
-#include "content/common/site_isolation_policy.h"
#include "content/common/view_messages.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
@@ -313,11 +312,7 @@ void TestRenderViewHost::TestOnUpdateStateWithFile(
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(state);
- }
+ static_cast<RenderFrameHostImpl*>(GetMainFrame())->OnUpdateState(state);
}
RenderViewHostImplTestHarness::RenderViewHostImplTestHarness() {
« no previous file with comments | « content/test/layouttest_support.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698