summaryrefslogtreecommitdiffstats
path: root/chrome/browser/greasemonkey_master.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/greasemonkey_master.cc')
-rw-r--r--chrome/browser/greasemonkey_master.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/greasemonkey_master.cc b/chrome/browser/greasemonkey_master.cc
index 2648fa0..288b379 100644
--- a/chrome/browser/greasemonkey_master.cc
+++ b/chrome/browser/greasemonkey_master.cc
@@ -164,7 +164,8 @@ GreasemonkeyMaster::GreasemonkeyMaster(MessageLoop* worker_loop,
const FilePath& script_dir)
: user_script_dir_(new FilePath(script_dir)),
dir_watcher_(new DirectoryWatcher),
- worker_loop_(worker_loop) {
+ worker_loop_(worker_loop),
+ pending_scan_(false) {
// Watch our scripts directory for modifications.
bool ok = dir_watcher_->Watch(script_dir, this);
DCHECK(ok);