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

Unified Diff: content/browser/plugin_service.cc

Issue 6731064: kqueue implementation of FilePathWatcher on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missed a nit or two Created 9 years, 9 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: content/browser/plugin_service.cc
diff --git a/content/browser/plugin_service.cc b/content/browser/plugin_service.cc
index 46230c1cafe33d5cc0f876b88e731aaf2c2026ae..860836ce9a9cecbdc32fd9f7ba0909390e1013fe 100644
--- a/content/browser/plugin_service.cc
+++ b/content/browser/plugin_service.cc
@@ -549,8 +549,7 @@ void PluginService::RegisterFilePathWatcher(
FilePathWatcher *watcher,
const FilePath& path,
FilePathWatcher::Delegate* delegate) {
- bool result = watcher->Watch(
- path, delegate, base::MessageLoopProxy::CreateForCurrentThread());
+ bool result = watcher->Watch(path, delegate);
DCHECK(result);
}
#endif

Powered by Google App Engine
This is Rietveld 408576698