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

Unified Diff: content/renderer/java/gin_java_function_invocation_helper.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_function_invocation_helper.cc
diff --git a/content/renderer/java/gin_java_function_invocation_helper.cc b/content/renderer/java/gin_java_function_invocation_helper.cc
index a113bad4fbfa36f725717a780a6a3aa86e7a3a22..428a954fdd75cbec5aba5fb6de98935ab8fd094c 100644
--- a/content/renderer/java/gin_java_function_invocation_helper.cc
+++ b/content/renderer/java/gin_java_function_invocation_helper.cc
@@ -34,7 +34,7 @@ GinJavaFunctionInvocationHelper::GinJavaFunctionInvocationHelper(
GinJavaFunctionInvocationHelper::~GinJavaFunctionInvocationHelper() {
}
-v8::Handle<v8::Value> GinJavaFunctionInvocationHelper::Invoke(
+v8::Local<v8::Value> GinJavaFunctionInvocationHelper::Invoke(
gin::Arguments* args) {
if (!dispatcher_) {
args->isolate()->ThrowException(v8::Exception::Error(gin::StringToV8(
@@ -58,8 +58,8 @@ v8::Handle<v8::Value> GinJavaFunctionInvocationHelper::Invoke(
base::ListValue arguments;
{
v8::HandleScope handle_scope(args->isolate());
- v8::Handle<v8::Context> context = args->isolate()->GetCurrentContext();
- v8::Handle<v8::Value> val;
+ v8::Local<v8::Context> context = args->isolate()->GetCurrentContext();
+ v8::Local<v8::Value> val;
while (args->GetNext(&val)) {
scoped_ptr<base::Value> arg(converter_->FromV8Value(val, context));
if (arg.get()) {
« no previous file with comments | « content/renderer/java/gin_java_function_invocation_helper.h ('k') | content/renderer/memory_benchmarking_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698