summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/extensions/extension_custom_bindings.cc
diff options
context:
space:
mode:
authormarja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-04 16:39:12 +0000
committermarja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-04 16:39:12 +0000
commit9a5984409f05752318c259fc1c69f0dba0107c07 (patch)
tree510d4649e82ef4d108036f81f0634837108308ff /chrome/renderer/extensions/extension_custom_bindings.cc
parent4fc83f0a16d0c9853603a1c28859e892033e7caa (diff)
downloadchromium_src-9a5984409f05752318c259fc1c69f0dba0107c07.zip
chromium_src-9a5984409f05752318c259fc1c69f0dba0107c07.tar.gz
chromium_src-9a5984409f05752318c259fc1c69f0dba0107c07.tar.bz2
Extensions: pass ChromeV8Context around instead of v8::Handle.
There was a TODO about this in object_backed_native_handler.h. The passed handle was a Persistent behind the scenes, and we're going to disable copying Persistents. We'd need to pass a Local handle instead, but this way the TODO gets done with a similar amount of effort. BUG=236290 Review URL: https://chromiumcodereview.appspot.com/16032015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203978 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/extensions/extension_custom_bindings.cc')
-rw-r--r--chrome/renderer/extensions/extension_custom_bindings.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/renderer/extensions/extension_custom_bindings.cc b/chrome/renderer/extensions/extension_custom_bindings.cc
index 7f6c6c2..66cfc1c 100644
--- a/chrome/renderer/extensions/extension_custom_bindings.cc
+++ b/chrome/renderer/extensions/extension_custom_bindings.cc
@@ -27,9 +27,8 @@ namespace {
} // namespace
-ExtensionCustomBindings::ExtensionCustomBindings(
- Dispatcher* dispatcher,
- v8::Handle<v8::Context> context)
+ExtensionCustomBindings::ExtensionCustomBindings(Dispatcher* dispatcher,
+ ChromeV8Context* context)
: ChromeV8Extension(dispatcher, context) {
RouteFunction("GetExtensionViews",
base::Bind(&ExtensionCustomBindings::GetExtensionViews,