diff options
author | cpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-21 22:39:09 +0000 |
---|---|---|
committer | cpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-21 22:39:09 +0000 |
commit | 11d454b9313928237196cf056d567d8c6a5143e4 (patch) | |
tree | 667491800ebc3180b5f886dfdb7646a40f0b5466 /chrome/browser/extensions/user_script_master.h | |
parent | c35a02d56868eae5cce8cd912c3c57e4b5ee4c63 (diff) | |
download | chromium_src-11d454b9313928237196cf056d567d8c6a5143e4.zip chromium_src-11d454b9313928237196cf056d567d8c6a5143e4.tar.gz chromium_src-11d454b9313928237196cf056d567d8c6a5143e4.tar.bz2 |
Making UserScriptMaster::ScriptReloader refcounted thread safe
- Being addref() in two different threads.
BUG=18488
TEST=none
Review URL: http://codereview.chromium.org/213025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26755 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/user_script_master.h')
-rw-r--r-- | chrome/browser/extensions/user_script_master.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/user_script_master.h b/chrome/browser/extensions/user_script_master.h index 57f4fe2..c5a8803 100644 --- a/chrome/browser/extensions/user_script_master.h +++ b/chrome/browser/extensions/user_script_master.h @@ -69,7 +69,7 @@ class UserScriptMaster : public base::RefCountedThreadSafe<UserScriptMaster>, // on the file thread. It must be created on, and its public API must only be // called from, the master's thread. class ScriptReloader - : public base::RefCounted<UserScriptMaster::ScriptReloader> { + : public base::RefCountedThreadSafe<UserScriptMaster::ScriptReloader> { public: // Parses the includes out of |script| and returns them in |includes|. static bool ParseMetadataHeader(const base::StringPiece& script_text, |