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

Unified Diff: chrome/browser/host_content_settings_map_unittest.cc

Issue 4192012: Convert implicit scoped_refptr constructor calls to explicit ones, part 1 (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: fix presubmit Created 10 years, 2 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/host_content_settings_map_unittest.cc
diff --git a/chrome/browser/host_content_settings_map_unittest.cc b/chrome/browser/host_content_settings_map_unittest.cc
index ea829d4ab28da661c16baa4a712481846fdbba4f..b5c74a09a220d006815a3be000c39f9a631b717f 100644
--- a/chrome/browser/host_content_settings_map_unittest.cc
+++ b/chrome/browser/host_content_settings_map_unittest.cc
@@ -527,8 +527,8 @@ TEST_F(HostContentSettingsMapTest, OffTheRecord) {
HostContentSettingsMap* host_content_settings_map =
profile.GetHostContentSettingsMap();
profile.set_off_the_record(true);
- scoped_refptr<HostContentSettingsMap> otr_map =
- new HostContentSettingsMap(&profile);
+ scoped_refptr<HostContentSettingsMap> otr_map(
+ new HostContentSettingsMap(&profile));
profile.set_off_the_record(false);
GURL host("http://example.com/");

Powered by Google App Engine
This is Rietveld 408576698