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

Unified Diff: base/files/file_path_watcher.h

Issue 588003002: Remove implicit conversions from scoped_refptr to T* in FileWatcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | base/files/file_path_watcher_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/files/file_path_watcher.h
diff --git a/base/files/file_path_watcher.h b/base/files/file_path_watcher.h
index b90efa1800fb7eeaa2cfc2d268dc1c09dfd89c4b..d26fa060446cad94cf5c04d027eacac3931489fe 100644
--- a/base/files/file_path_watcher.h
+++ b/base/files/file_path_watcher.h
@@ -62,7 +62,7 @@ class BASE_EXPORT FilePathWatcher {
return message_loop_;
}
- void set_message_loop(base::MessageLoopProxy* loop) {
+ void set_message_loop(const scoped_refptr<base::MessageLoopProxy>& loop) {
message_loop_ = loop;
}
« no previous file with comments | « no previous file | base/files/file_path_watcher_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698