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

Unified Diff: chrome/renderer/net_benchmarking_extension.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
Index: chrome/renderer/net_benchmarking_extension.cc
diff --git a/chrome/renderer/net_benchmarking_extension.cc b/chrome/renderer/net_benchmarking_extension.cc
index f3621f44e04ea2c2c0e9d00325077942ce702caf..2164281b30e1678a7934c88922425698ab19e274 100644
--- a/chrome/renderer/net_benchmarking_extension.cc
+++ b/chrome/renderer/net_benchmarking_extension.cc
@@ -43,9 +43,9 @@ class NetBenchmarkingWrapper : public v8::Extension {
"};"
) {}
- v8::Handle<v8::FunctionTemplate> GetNativeFunctionTemplate(
+ v8::Local<v8::FunctionTemplate> GetNativeFunctionTemplate(
v8::Isolate* isolate,
- v8::Handle<v8::String> name) override {
+ v8::Local<v8::String> name) override {
if (name->Equals(v8::String::NewFromUtf8(isolate, "ClearCache"))) {
return v8::FunctionTemplate::New(isolate, ClearCache);
} else if (name->Equals(v8::String::NewFromUtf8(
@@ -59,7 +59,7 @@ class NetBenchmarkingWrapper : public v8::Extension {
return v8::FunctionTemplate::New(isolate, CloseConnections);
}
- return v8::Handle<v8::FunctionTemplate>();
+ return v8::Local<v8::FunctionTemplate>();
}
static void ClearCache(const v8::FunctionCallbackInfo<v8::Value>& args) {
« no previous file with comments | « chrome/renderer/net/net_error_page_controller.cc ('k') | chrome/renderer/plugins/chrome_plugin_placeholder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698