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

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

Issue 2515823002: Remove WebContents::GetRoutingID(). (Closed)
Patch Set: add render_view_host.h include in resource_dispatcher_host_unittest.cc 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);
}
« no previous file with comments | « chrome/browser/ui/search/search_ipc_router_unittest.cc ('k') | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698