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

Unified Diff: chrome/browser/file_path_watcher_browsertest.cc

Issue 4188008: Use make_scoped_refptr for NewRunnableMethod if the raw ptr type is derivd from RefCountedThreadSafe (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: address comment 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/download/download_file_manager.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/file_path_watcher_browsertest.cc
diff --git a/chrome/browser/file_path_watcher_browsertest.cc b/chrome/browser/file_path_watcher_browsertest.cc
index fe981893a4ab2f5057ce9595fd402b6c9eaef2b9..a337ae3a10b84024d30c8557a62f87640a69ca6b 100644
--- a/chrome/browser/file_path_watcher_browsertest.cc
+++ b/chrome/browser/file_path_watcher_browsertest.cc
@@ -44,7 +44,7 @@ class NotificationCollector
loop_->PostTask(FROM_HERE,
NewRunnableMethod(this,
&NotificationCollector::RecordChange,
- delegate));
+ make_scoped_refptr(delegate)));
}
void Register(TestDelegate* delegate) {
« no previous file with comments | « chrome/browser/download/download_file_manager.cc ('k') | chrome/browser/importer/importer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698