Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: chrome/browser/web_applications/

Issue 1534933002: Don't process messages sent to dead routing ids. (Closed) Base URL:
Patch Set: More unittest fixes. Created 4 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
Index: chrome/browser/web_applications/
diff --git a/chrome/browser/web_applications/ b/chrome/browser/web_applications/
index 38ef8961e2af8975cb8685870d2dad1db28bb935..2cf437ba0069a6f8006342fb7931e24b39bfeec9 100644
--- a/chrome/browser/web_applications/
+++ b/chrome/browser/web_applications/
@@ -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();
rvh(), ChromeViewHostMsg_DidGetWebApplicationInfo(0, web_app_info));
scoped_ptr<web_app::ShortcutInfo> info =

Powered by Google App Engine
This is Rietveld 408576698