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

Unified Diff: chrome/browser/user_style_sheet_watcher_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
« no previous file with comments | « chrome/browser/themes/browser_theme_provider.cc ('k') | chrome/common/database_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/user_style_sheet_watcher_unittest.cc
diff --git a/chrome/browser/user_style_sheet_watcher_unittest.cc b/chrome/browser/user_style_sheet_watcher_unittest.cc
index ad551367d717c630209eceab223fc944c7acc97c..c791cb9ddf404c7565fd0729c16c23d8a08c8f05 100644
--- a/chrome/browser/user_style_sheet_watcher_unittest.cc
+++ b/chrome/browser/user_style_sheet_watcher_unittest.cc
@@ -23,8 +23,8 @@ TEST(UserStyleSheetWatcherTest, StyleLoad) {
ASSERT_TRUE(file_util::WriteFile(style_sheet_file,
css_file_contents.data(), css_file_contents.length()));
- scoped_refptr<UserStyleSheetWatcher> style_sheet_watcher =
- new UserStyleSheetWatcher(dir.path());
+ scoped_refptr<UserStyleSheetWatcher> style_sheet_watcher(
+ new UserStyleSheetWatcher(dir.path()));
MessageLoop loop;
BrowserThread ui_thread(BrowserThread::UI, &loop);
BrowserThread file_thread(BrowserThread::FILE, &loop);
« no previous file with comments | « chrome/browser/themes/browser_theme_provider.cc ('k') | chrome/common/database_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698