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

Unified Diff: content/renderer/pepper/plugin_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
« no previous file with comments | « content/renderer/pepper/plugin_object.h ('k') | content/renderer/pepper/ppb_var_deprecated_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/plugin_object.cc
diff --git a/content/renderer/pepper/plugin_object.cc b/content/renderer/pepper/plugin_object.cc
index ada0fd9b7bfd1c3b4b15e1b9a44f16b5fc811117..2c82c3f32d6cf752c4de18553aab03328e73517c 100644
--- a/content/renderer/pepper/plugin_object.cc
+++ b/content/renderer/pepper/plugin_object.cc
@@ -58,7 +58,7 @@ gin::WrapperInfo PluginObject::kWrapperInfo = {gin::kEmbedderNativeGin};
// static
PluginObject* PluginObject::FromV8Object(v8::Isolate* isolate,
- v8::Handle<v8::Object> v8_object) {
+ v8::Local<v8::Object> v8_object) {
PluginObject* plugin_object;
if (!v8_object.IsEmpty() &&
gin::ConvertFromV8(isolate, v8_object, &plugin_object)) {
@@ -201,7 +201,7 @@ v8::Local<v8::Value> PluginObject::GetPropertyOrMethod(v8::Isolate* isolate,
if (try_catch.ThrowException())
return v8::Local<v8::Value>();
- v8::Handle<v8::Value> result = try_catch.ToV8(result_var.get());
+ v8::Local<v8::Value> result = try_catch.ToV8(result_var.get());
if (try_catch.ThrowException())
return v8::Local<v8::Value>();
@@ -236,7 +236,7 @@ void PluginObject::Call(const std::string& identifier,
ScopedPPVarArray argument_vars(args->Length());
for (uint32_t i = 0; i < argument_vars.size(); ++i) {
- v8::Handle<v8::Value> arg;
+ v8::Local<v8::Value> arg;
if (!args->GetNext(&arg)) {
NOTREACHED();
}
@@ -259,7 +259,7 @@ void PluginObject::Call(const std::string& identifier,
if (try_catch.ThrowException())
return;
- v8::Handle<v8::Value> result = try_catch.ToV8(result_var.get());
+ v8::Local<v8::Value> result = try_catch.ToV8(result_var.get());
if (try_catch.ThrowException())
return;
« no previous file with comments | « content/renderer/pepper/plugin_object.h ('k') | content/renderer/pepper/ppb_var_deprecated_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698