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 18:48:19 +0000
committerdmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-01 18:48:19 +0000
commit7b3ee8bf212b43ea15d46a390af411c689ba24a8 (patch)
treecb3125ddf1795edce4ca006568ce0ff73b9b16df /chrome/browser/user_style_sheet_watcher.cc
parent21453884c357a0845e994f4dd7323d2c9cc61192 (diff)
downloadchromium_src-7b3ee8bf212b43ea15d46a390af411c689ba24a8.zip
chromium_src-7b3ee8bf212b43ea15d46a390af411c689ba24a8.tar.gz
chromium_src-7b3ee8bf212b43ea15d46a390af411c689ba24a8.tar.bz2
kqueue implementation of FilePathWatcher on Mac.
BUG=54822,77391,77217,77064,69641 TEST=BUILD Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80101 Review URL: http://codereview.chromium.org/6731064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80196 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, 1 insertions, 2 deletions
diff --git a/chrome/browser/user_style_sheet_watcher.cc b/chrome/browser/user_style_sheet_watcher.cc
index 9a314b3..516501d 100644
--- a/chrome/browser/user_style_sheet_watcher.cc
+++ b/chrome/browser/user_style_sheet_watcher.cc
@@ -150,8 +150,7 @@ void UserStyleSheetWatcher::Init() {
.AppendASCII(kUserStyleSheetFile);
if (!file_watcher_->Watch(
style_sheet_file,
- loader_.get(),
- BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI))) {
+ loader_.get())) {
LOG(ERROR) << "Failed to setup watch for " << style_sheet_file.value();
}
loader_->LoadStyleSheet(style_sheet_file);