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

Unified Diff: content/shell/browser/layout_test/secondary_test_window_observer.cc

Issue 2085023003: Simplify detection of new, test-related RenderFrameHosts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/shell/browser/layout_test/secondary_test_window_observer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/layout_test/secondary_test_window_observer.cc
diff --git a/content/shell/browser/layout_test/secondary_test_window_observer.cc b/content/shell/browser/layout_test/secondary_test_window_observer.cc
index f1c204f5d5393f3db670a96e0cdc32591d541f5e..726fc188d4ed6c774799ed279362d2c96054483a 100644
--- a/content/shell/browser/layout_test/secondary_test_window_observer.cc
+++ b/content/shell/browser/layout_test/secondary_test_window_observer.cc
@@ -35,12 +35,4 @@ void SecondaryTestWindowObserver::RenderFrameCreated(
BlinkTestController::Get()->HandleNewRenderFrameHost(render_frame_host);
}
-void SecondaryTestWindowObserver::RenderFrameHostChanged(
- RenderFrameHost* old_host,
- RenderFrameHost* new_host) {
- DCHECK(!BlinkTestController::Get()->IsMainWindow(
- WebContents::FromRenderFrameHost(new_host)));
- BlinkTestController::Get()->HandleNewRenderFrameHost(new_host);
-}
-
} // namespace content
« no previous file with comments | « content/shell/browser/layout_test/secondary_test_window_observer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698