summaryrefslogtreecommitdiffstats
path: root/chrome/browser/user_style_sheet_watcher.cc
diff options
context:
space:
mode:
authordmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-01 00:49:38 +0000
committerdmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-01 00:49:38 +0000
commit59eee29eaf8956a182fa2e326eb3082ed69e933d (patch)
treeab88423b0f59d5d53b375413da952e1865b8a9e7 /chrome/browser/user_style_sheet_watcher.cc
parent4ecaffee18df3cd4190459b0eed3d0d0187abadf (diff)
downloadchromium_src-59eee29eaf8956a182fa2e326eb3082ed69e933d.zip
chromium_src-59eee29eaf8956a182fa2e326eb3082ed69e933d.tar.gz
chromium_src-59eee29eaf8956a182fa2e326eb3082ed69e933d.tar.bz2
Revert 80101 - kqueue implementation of FilePathWatcher on Mac.
BUG=54822,77391,77217,77064,69641 TEST=BUILD Review URL: http://codereview.chromium.org/6731064 TBR=dmaclach@chromium.org Review URL: http://codereview.chromium.org/6689004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80113 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/user_style_sheet_watcher.cc')
-rw-r--r--chrome/browser/user_style_sheet_watcher.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/user_style_sheet_watcher.cc b/chrome/browser/user_style_sheet_watcher.cc
index 516501d..9a314b3 100644
--- a/chrome/browser/user_style_sheet_watcher.cc
+++ b/chrome/browser/user_style_sheet_watcher.cc
@@ -150,7 +150,8 @@ void UserStyleSheetWatcher::Init() {
.AppendASCII(kUserStyleSheetFile);
if (!file_watcher_->Watch(
style_sheet_file,
- loader_.get())) {
+ loader_.get(),
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI))) {
LOG(ERROR) << "Failed to setup watch for " << style_sheet_file.value();
}
loader_->LoadStyleSheet(style_sheet_file);