diff options
author | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-05 18:25:01 +0000 |
---|---|---|
committer | rafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-05 18:25:01 +0000 |
commit | 28c47ee963812e92e2eb921ed1778f5db74041bc (patch) | |
tree | 4fe3226b1a17e845379d73b4ce29ae8504d39860 /chrome/renderer/user_script_slave.cc | |
parent | e4c893a1534ba215f0b66eb9ee3ac87bc8c72143 (diff) | |
download | chromium_src-28c47ee963812e92e2eb921ed1778f5db74041bc.zip chromium_src-28c47ee963812e92e2eb921ed1778f5db74041bc.tar.gz chromium_src-28c47ee963812e92e2eb921ed1778f5db74041bc.tar.bz2 |
BUG=11200
R=aa
Review URL: http://codereview.chromium.org/110001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15310 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/user_script_slave.cc')
-rw-r--r-- | chrome/renderer/user_script_slave.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/user_script_slave.cc b/chrome/renderer/user_script_slave.cc index 80eba6c..4f44ef9 100644 --- a/chrome/renderer/user_script_slave.cc +++ b/chrome/renderer/user_script_slave.cc @@ -27,7 +27,7 @@ static const char kUserScriptTail[] = "\n})(window);"; // Creates a convenient reference to a content script's parent extension. static const char kInitExtension[] = - "chromium.extension = new chromium.Extension('%s')"; + "chrome.extension = new chrome.Extension('%s')"; UserScriptSlave::UserScriptSlave() : shared_memory_(NULL), @@ -151,7 +151,7 @@ bool UserScriptSlave::InjectScripts(WebFrame* frame, sources.insert(sources.begin(), WebScriptSource(WebString::fromUTF8(api_js_.as_string()))); } else { - // Setup chromium.self to contain an Extension object with the correct + // Setup chrome.self to contain an Extension object with the correct // ID. sources.insert(sources.begin(), WebScriptSource(WebString::fromUTF8( |