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

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

Issue 1103273009: Use v8::Local inplace of v8::Handle in src/chrome/* (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 | « chrome/renderer/extensions/cast_streaming_native_handler.cc ('k') | chrome/renderer/external_extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/webstore_bindings.cc
diff --git a/chrome/renderer/extensions/webstore_bindings.cc b/chrome/renderer/extensions/webstore_bindings.cc
index 97e80759e93c685c3273e6476d374363191bec0e..239ebb0413911ceed8a2b28d21abe994f27bdb04 100644
--- a/chrome/renderer/extensions/webstore_bindings.cc
+++ b/chrome/renderer/extensions/webstore_bindings.cc
@@ -210,7 +210,7 @@ void WebstoreBindings::OnInlineWebstoreInstallResponse(
v8::Isolate* isolate = context()->isolate();
v8::HandleScope handle_scope(isolate);
v8::Context::Scope context_scope(context()->v8_context());
- v8::Handle<v8::Value> argv[] = {
+ v8::Local<v8::Value> argv[] = {
v8::Integer::New(isolate, install_id),
v8::Boolean::New(isolate, success),
v8::String::NewFromUtf8(isolate, error.c_str()),
@@ -236,7 +236,7 @@ void WebstoreBindings::OnInlineInstallStageChanged(int stage) {
v8::Isolate* isolate = context()->isolate();
v8::HandleScope handle_scope(isolate);
v8::Context::Scope context_scope(context()->v8_context());
- v8::Handle<v8::Value> argv[] = {
+ v8::Local<v8::Value> argv[] = {
v8::String::NewFromUtf8(isolate, stage_string)};
context()->module_system()->CallModuleMethod(
"webstore", "onInstallStageChanged", arraysize(argv), argv);
@@ -246,7 +246,7 @@ void WebstoreBindings::OnInlineInstallDownloadProgress(int percent_downloaded) {
v8::Isolate* isolate = context()->isolate();
v8::HandleScope handle_scope(isolate);
v8::Context::Scope context_scope(context()->v8_context());
- v8::Handle<v8::Value> argv[] = {
+ v8::Local<v8::Value> argv[] = {
v8::Number::New(isolate, percent_downloaded / 100.0)};
context()->module_system()->CallModuleMethod(
"webstore", "onDownloadProgress", arraysize(argv), argv);
« no previous file with comments | « chrome/renderer/extensions/cast_streaming_native_handler.cc ('k') | chrome/renderer/external_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698