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

Unified Diff: chrome/browser/ui/search/search_tab_helper_unittest.cc

Issue 2515823002: Remove WebContents::GetRoutingID(). (Closed)
Patch Set: added a TODO for the external protocol bug Created 4 years, 1 month 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
Index: chrome/browser/ui/search/search_tab_helper_unittest.cc
diff --git a/chrome/browser/ui/search/search_tab_helper_unittest.cc b/chrome/browser/ui/search/search_tab_helper_unittest.cc
index bea64509872f2af593fbaf8bf8636e01ff9e0955..bacf1d56b08abd2fc577a68236a7eaad82416394 100644
--- a/chrome/browser/ui/search/search_tab_helper_unittest.cc
+++ b/chrome/browser/ui/search/search_tab_helper_unittest.cc
@@ -145,7 +145,7 @@ TEST_F(SearchTabHelperTest, DetermineIfPageSupportsInstant_NonLocal) {
std::unique_ptr<IPC::Message> response(
new ChromeViewHostMsg_InstantSupportDetermined(
- web_contents()->GetRoutingID(),
+ web_contents()->GetRenderViewHost()->GetRoutingID(),
search_tab_helper->ipc_router().page_seq_no_for_testing(), true));
search_tab_helper->ipc_router().OnMessageReceived(*response);
}

Powered by Google App Engine
This is Rietveld 408576698