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

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

Issue 2721553002: Make web_app::ShortcutInfo RefCountedThreadSafe (1) (Closed)
Patch Set: +comment Created 3 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/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..74c122c10b67ec7c75de7b9993ea7b45a572f384 100644
--- a/chrome/browser/web_applications/web_app_unittest.cc
+++ b/chrome/browser/web_applications/web_app_unittest.cc
@@ -48,7 +48,7 @@ TEST_F(WebApplicationTest, GetShortcutInfoForTab) {
->InitializeRenderFrameIfNeeded();
RenderViewHostTester::TestOnMessageReceived(
rvh(), ChromeViewHostMsg_DidGetWebApplicationInfo(0, web_app_info));
- std::unique_ptr<web_app::ShortcutInfo> info =
+ scoped_refptr<web_app::ShortcutInfo> info =
web_app::GetShortcutInfoForTab(web_contents());
EXPECT_EQ(title, info->title);
« no previous file with comments | « chrome/browser/web_applications/web_app_mac_unittest.mm ('k') | chrome/browser/web_applications/web_app_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698