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

Unified Diff: content/renderer/java/gin_java_bridge_object.cc

Issue 1113783002: Use Local instead of Handle in src/content/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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: content/renderer/java/gin_java_bridge_object.cc
diff --git a/content/renderer/java/gin_java_bridge_object.cc b/content/renderer/java/gin_java_bridge_object.cc
index 345c2aabaed4411896bcec154acb58437fac058d..00e9aec45daa605a9f671f04fafb666cfd305ce5 100644
--- a/content/renderer/java/gin_java_bridge_object.cc
+++ b/content/renderer/java/gin_java_bridge_object.cc
@@ -19,7 +19,7 @@ GinJavaBridgeObject* GinJavaBridgeObject::InjectNamed(
GinJavaBridgeDispatcher::ObjectID object_id) {
v8::Isolate* isolate = blink::mainThreadIsolate();
v8::HandleScope handle_scope(isolate);
- v8::Handle<v8::Context> context = frame->mainWorldScriptContext();
+ v8::Local<v8::Context> context = frame->mainWorldScriptContext();
if (context.IsEmpty())
return NULL;
@@ -27,7 +27,7 @@ GinJavaBridgeObject* GinJavaBridgeObject::InjectNamed(
new GinJavaBridgeObject(isolate, dispatcher, object_id);
v8::Context::Scope context_scope(context);
- v8::Handle<v8::Object> global = context->Global();
+ v8::Local<v8::Object> global = context->Global();
gin::Handle<GinJavaBridgeObject> controller =
gin::CreateHandle(isolate, object);
// WrappableBase instance deletes itself in case of a wrapper
« no previous file with comments | « content/renderer/gpu/gpu_benchmarking_extension.cc ('k') | content/renderer/java/gin_java_bridge_value_converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698