Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6346)

Unified Diff: chrome/renderer/extensions/context_menus_custom_bindings.cc

Issue 16032015: Extensions: pass ChromeV8Context around instead of v8::Handle. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/extensions/context_menus_custom_bindings.cc
diff --git a/chrome/renderer/extensions/context_menus_custom_bindings.cc b/chrome/renderer/extensions/context_menus_custom_bindings.cc
index 0043307ecf1d385b01c37ce13a0d33ce41fcdce6..05c0c54ef777f3002cd8e26c93e03862eb6ca0fa 100644
--- a/chrome/renderer/extensions/context_menus_custom_bindings.cc
+++ b/chrome/renderer/extensions/context_menus_custom_bindings.cc
@@ -24,8 +24,8 @@ v8::Handle<v8::Value> GetNextContextMenuId(const v8::Arguments& args) {
namespace extensions {
ContextMenusCustomBindings::ContextMenusCustomBindings(
- Dispatcher* dispatcher, v8::Handle<v8::Context> v8_context)
- : ChromeV8Extension(dispatcher, v8_context) {
+ Dispatcher* dispatcher, ChromeV8Context* context)
+ : ChromeV8Extension(dispatcher, context) {
RouteFunction("GetNextContextMenuId", base::Bind(&GetNextContextMenuId));
}

Powered by Google App Engine
This is Rietveld 408576698