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

Unified Diff: content/browser/frame_host/interstitial_page_impl_browsertest.cc

Issue 2721303003: DO NOT SUBMIT: test the test impl. shoul fail (Closed)
Patch Set: Created 3 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/browser/frame_host/interstitial_page_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/interstitial_page_impl_browsertest.cc
diff --git a/content/browser/frame_host/interstitial_page_impl_browsertest.cc b/content/browser/frame_host/interstitial_page_impl_browsertest.cc
index cc2ac142bf0a165aed11ab0455d8dc18efc86073..fbf76477b43071d27ca74ccf4c188b875ef4fef8 100644
--- a/content/browser/frame_host/interstitial_page_impl_browsertest.cc
+++ b/content/browser/frame_host/interstitial_page_impl_browsertest.cc
@@ -149,8 +149,10 @@ class InterstitialPageImplTest : public ContentBrowserTest {
// Focus the interstitial frame
FrameTree* frame_tree = static_cast<RenderViewHostDelegate*>(
interstitial_.get())->GetFrameTree();
- frame_tree->SetFocusedFrame(frame_tree->root(),
- frame_tree->GetMainFrame()->GetSiteInstance());
+ static_cast<RenderFrameHostDelegate*>(interstitial_.get())
+ ->SetFocusedFrame(frame_tree->root(),
+ frame_tree->GetMainFrame()->GetSiteInstance());
+
clipboard_message_watcher_ =
new ClipboardMessageWatcher(interstitial_.get());
« no previous file with comments | « content/browser/frame_host/interstitial_page_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698