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

Unified Diff: chrome/browser/media_galleries/fileapi/iapps_data_provider.cc

Issue 2514113003: Revert of Require FilePathWatcher destructor to be called in sequence with Watch(). (Closed)
Patch Set: Created 4 years, 1 month 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/media_galleries/fileapi/iapps_data_provider.cc
diff --git a/chrome/browser/media_galleries/fileapi/iapps_data_provider.cc b/chrome/browser/media_galleries/fileapi/iapps_data_provider.cc
index 72e90365ceeac4d58d07b4bdafd9f8e8c50685ba..ec8cfd26052ca1382fdf018aeb8bf42a86ed1656 100644
--- a/chrome/browser/media_galleries/fileapi/iapps_data_provider.cc
+++ b/chrome/browser/media_galleries/fileapi/iapps_data_provider.cc
@@ -40,9 +40,7 @@
weak_factory_.GetWeakPtr()));
}
-IAppsDataProvider::~IAppsDataProvider() {
- StopFilePathWatchOnMediaTaskRunner(std::move(library_watcher_));
-}
+IAppsDataProvider::~IAppsDataProvider() {}
bool IAppsDataProvider::valid() const {
return is_valid_;

Powered by Google App Engine
This is Rietveld 408576698