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

Unified Diff: chrome/browser/search/search_unittest.cc

Issue 511473002: Remove implicit conversions from scoped_refptr to T* in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move download out Created 6 years, 4 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/search/hotword_service_unittest.cc ('k') | chrome/browser/sessions/session_data_deleter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/search_unittest.cc
diff --git a/chrome/browser/search/search_unittest.cc b/chrome/browser/search/search_unittest.cc
index 5f07d0634193658320764305861f9fa3a3c6cbbb..0326078de95aea0fe5ad782f86fb7083a40d7fc2 100644
--- a/chrome/browser/search/search_unittest.cc
+++ b/chrome/browser/search/search_unittest.cc
@@ -253,7 +253,7 @@ TEST_F(SearchTest, ProcessIsolation) {
<< test.description;
EXPECT_EQ(test.same_site_instance,
- start_site_instance == contents->GetSiteInstance())
+ start_site_instance.get() == contents->GetSiteInstance())
<< test.description;
EXPECT_EQ(test.same_site_instance,
start_rvh == contents->GetRenderViewHost())
@@ -299,7 +299,7 @@ TEST_F(SearchTest, ProcessIsolation_RendererInitiated) {
<< test.description;
EXPECT_EQ(test.same_site_instance,
- start_site_instance == contents->GetSiteInstance())
+ start_site_instance.get() == contents->GetSiteInstance())
<< test.description;
EXPECT_EQ(test.same_site_instance,
start_rvh == contents->GetRenderViewHost())
« no previous file with comments | « chrome/browser/search/hotword_service_unittest.cc ('k') | chrome/browser/sessions/session_data_deleter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698