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

Unified Diff: content/test/layouttest_support.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/BUILD.gn ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/layouttest_support.cc
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
index 117f9bd066ab3b8484fedb3ca73e727e92d9d6b3..784fb2c3382f8d87c7f9969c3c698c2b65a04b01 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -24,7 +24,6 @@
#include "content/browser/renderer_host/render_process_host_impl.h"
#include "content/browser/renderer_host/render_widget_host_impl.h"
#include "content/common/renderer.mojom.h"
-#include "content/common/site_isolation_policy.h"
#include "content/public/common/page_state.h"
#include "content/public/common/screen_info.h"
#include "content/public/renderer/renderer_gamepad_provider.h"
@@ -459,9 +458,6 @@ int GetLocalSessionHistoryLength(RenderView* render_view) {
void SyncNavigationState(RenderView* render_view) {
// TODO(creis): Add support for testing in OOPIF-enabled modes.
// See https://crbug.com/477150.
- if (SiteIsolationPolicy::UseSubframeNavigationEntries())
- return;
- static_cast<RenderViewImpl*>(render_view)->SendUpdateState();
}
void SetFocusAndActivate(RenderView* render_view, bool enable) {
« no previous file with comments | « content/test/BUILD.gn ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698