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

Unified Diff: chrome/browser/web_applications/web_app_unittest.cc

Issue 2942583004: Move *GetWebApplicationInfo IPCs from "view" to "frame". (Closed)
Patch Set: Rebasing... Created 3 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 | « chrome/browser/extensions/tab_helper.cc ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/web_applications/web_app_unittest.cc
diff --git a/chrome/browser/web_applications/web_app_unittest.cc b/chrome/browser/web_applications/web_app_unittest.cc
index 70438618e6f4762c2038a099f1374f517e32420c..fb5a1cbeb2642f9dfab262c4e7e28430eba72be4 100644
--- a/chrome/browser/web_applications/web_app_unittest.cc
+++ b/chrome/browser/web_applications/web_app_unittest.cc
@@ -46,8 +46,9 @@ TEST_F(WebApplicationTest, GetShortcutInfoForTab) {
content::RenderFrameHostTester::For(main_rfh())
->InitializeRenderFrameIfNeeded();
- RenderViewHostTester::TestOnMessageReceived(
- rvh(), ChromeViewHostMsg_DidGetWebApplicationInfo(0, web_app_info));
+ content::RenderFrameHostTester::TestOnMessageReceived(
+ rvh()->GetMainFrame(),
+ ChromeFrameHostMsg_DidGetWebApplicationInfo(0, web_app_info));
std::unique_ptr<web_app::ShortcutInfo> info =
web_app::GetShortcutInfoForTab(web_contents());
« no previous file with comments | « chrome/browser/extensions/tab_helper.cc ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698