diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-29 17:32:24 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-29 17:32:24 +0000 |
commit | 6779aa1d281cce1b77c96d5fb77535c9838b0949 (patch) | |
tree | 2eef595d07ab6d858dfffc27202d5e00a80f6934 /chrome/renderer/extensions/chrome_app_bindings.cc | |
parent | ba0483f513f5f28a7eeff34dafa4e89d2c232c61 (diff) | |
download | chromium_src-6779aa1d281cce1b77c96d5fb77535c9838b0949.zip chromium_src-6779aa1d281cce1b77c96d5fb77535c9838b0949.tar.gz chromium_src-6779aa1d281cce1b77c96d5fb77535c9838b0949.tar.bz2 |
Move the dispatching of extension messages out of RenderThread. This also moves a bunch of extension related state out of RenderThread.
Review URL: http://codereview.chromium.org/6765011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79699 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/extensions/chrome_app_bindings.cc')
-rw-r--r-- | chrome/renderer/extensions/chrome_app_bindings.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/extensions/chrome_app_bindings.cc b/chrome/renderer/extensions/chrome_app_bindings.cc index f6a169b..f5cdd38 100644 --- a/chrome/renderer/extensions/chrome_app_bindings.cc +++ b/chrome/renderer/extensions/chrome_app_bindings.cc @@ -8,7 +8,7 @@ #include "base/utf_string_conversions.h" #include "chrome/common/extensions/extension_set.h" #include "chrome/renderer/extensions/bindings_utils.h" -#include "chrome/renderer/render_thread.h" +#include "chrome/renderer/extensions/extension_dispatcher.h" #include "content/renderer/render_view.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" #include "v8/include/v8.h" @@ -58,7 +58,7 @@ class ChromeAppExtensionWrapper : public v8::Extension { return v8::Boolean::New(false); bool has_web_extent = - RenderThread::current()->GetExtensions()->GetByURL(url) != NULL; + ExtensionDispatcher::Get()->extensions()->GetByURL(url) != NULL; return v8::Boolean::New(has_web_extent); } |