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

Unified Diff: chrome/renderer/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
« no previous file with comments | « no previous file | chrome/renderer/extensions/app_bindings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/benchmarking_extension.cc
diff --git a/chrome/renderer/benchmarking_extension.cc b/chrome/renderer/benchmarking_extension.cc
index 45bc31feac25bdfbb2b4924a7c87b8875c3769c3..955cbd52e657813e45d56656a71b9558071ec2c1 100644
--- a/chrome/renderer/benchmarking_extension.cc
+++ b/chrome/renderer/benchmarking_extension.cc
@@ -50,16 +50,16 @@ class BenchmarkingWrapper : 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, "IsSingleProcess"))) {
return v8::FunctionTemplate::New(isolate, IsSingleProcess);
} else if (name->Equals(v8::String::NewFromUtf8(isolate, "HiResTime"))) {
return v8::FunctionTemplate::New(isolate, HiResTime);
}
- return v8::Handle<v8::FunctionTemplate>();
+ return v8::Local<v8::FunctionTemplate>();
}
static void IsSingleProcess(const v8::FunctionCallbackInfo<v8::Value>& args) {
« no previous file with comments | « no previous file | chrome/renderer/extensions/app_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698