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

Unified Diff: chrome/browser/chromeos/file_manager/file_watcher.cc

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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/chromeos/file_manager/file_watcher.cc
diff --git a/chrome/browser/chromeos/file_manager/file_watcher.cc b/chrome/browser/chromeos/file_manager/file_watcher.cc
index bd462373051f95eddf858249e85da4d9b493a687..e169e9682fe14c0eadac7e665e6b507aec72525a 100644
--- a/chrome/browser/chromeos/file_manager/file_watcher.cc
+++ b/chrome/browser/chromeos/file_manager/file_watcher.cc
@@ -21,7 +21,7 @@ base::FilePathWatcher* CreateAndStartFilePathWatcher(
DCHECK_CURRENTLY_ON(BrowserThread::FILE);
DCHECK(!callback.is_null());
- scoped_ptr<base::FilePathWatcher> watcher(new base::FilePathWatcher);
+ std::unique_ptr<base::FilePathWatcher> watcher(new base::FilePathWatcher);
if (!watcher->Watch(watch_path, false /* recursive */, callback))
return NULL;

Powered by Google App Engine
This is Rietveld 408576698