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) { |