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 38ef8961e2af8975cb8685870d2dad1db28bb935..2cf437ba0069a6f8006342fb7931e24b39bfeec9 100644 |
--- a/chrome/browser/web_applications/web_app_unittest.cc |
+++ b/chrome/browser/web_applications/web_app_unittest.cc |
@@ -42,6 +42,8 @@ TEST_F(WebApplicationTest, GetShortcutInfoForTab) { |
web_app_info.description = description; |
web_app_info.app_url = url; |
+ content::RenderFrameHostTester::For(main_rfh()) |
+ ->InitializeRenderFrameIfNeeded(); |
RenderViewHostTester::TestOnMessageReceived( |
rvh(), ChromeViewHostMsg_DidGetWebApplicationInfo(0, web_app_info)); |
scoped_ptr<web_app::ShortcutInfo> info = |