summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-22 15:23:10 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-22 15:23:10 +0000
commit211386d58b7fb341e2a895e5776e8380184d58c4 (patch)
tree7da2d2bdabbc536e8074cfc0071fa5c59c5da6ff /chrome/browser
parentce57a232601d6e20e09bb5b55d39486e8ff98261 (diff)
downloadchromium_src-211386d58b7fb341e2a895e5776e8380184d58c4.zip
chromium_src-211386d58b7fb341e2a895e5776e8380184d58c4.tar.gz
chromium_src-211386d58b7fb341e2a895e5776e8380184d58c4.tar.bz2
Fix bug where content scripts are not run if they are in
extensions that are loaded after EXTENSIONS_READY. Review URL: http://codereview.chromium.org/140065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18903 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/extensions/user_script_master.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/user_script_master.cc b/chrome/browser/extensions/user_script_master.cc
index 0c1a4b0..d325091 100644
--- a/chrome/browser/extensions/user_script_master.cc
+++ b/chrome/browser/extensions/user_script_master.cc
@@ -351,7 +351,7 @@ void UserScriptMaster::Observe(NotificationType type,
lone_scripts_.push_back(*iter);
}
}
- if (!extensions_service_ready_)
+ if (extensions_service_ready_)
StartScan();
break;
}