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

Unified Diff: chrome/browser/importer/firefox_importer_unittest_utils_mac.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/host_content_settings_map_unittest.cc ('k') | chrome/browser/importer/importer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/firefox_importer_unittest_utils_mac.cc
diff --git a/chrome/browser/importer/firefox_importer_unittest_utils_mac.cc b/chrome/browser/importer/firefox_importer_unittest_utils_mac.cc
index e35f7a758eecbb9c17cb6b679909ec20e510247e..fbe3d3da884040011c0950ef3eaabc6058f708c2 100644
--- a/chrome/browser/importer/firefox_importer_unittest_utils_mac.cc
+++ b/chrome/browser/importer/firefox_importer_unittest_utils_mac.cc
@@ -178,8 +178,8 @@ bool FFUnitTestDecryptorProxy::WaitForClientResponse() {
// the future and cancel it if an RPC message comes back earlier.
// This relies on the IPC listener class to quit the message loop itself when
// a message comes in.
- scoped_refptr<CancellableQuitMsgLoop> quit_task =
- new CancellableQuitMsgLoop();
+ scoped_refptr<CancellableQuitMsgLoop> quit_task(
+ new CancellableQuitMsgLoop());
MessageLoop::current()->PostDelayedTask(
FROM_HERE,
NewRunnableMethod(quit_task.get(), &CancellableQuitMsgLoop::QuitNow),
« no previous file with comments | « chrome/browser/host_content_settings_map_unittest.cc ('k') | chrome/browser/importer/importer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698