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

Unified Diff: Source/bindings/core/v8/V8PerContextData.cpp

Issue 1111163003: Replace v8::Handle<> with v8::Local<> in bindings/core/v8/* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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 | « Source/bindings/core/v8/V8PerContextData.h ('k') | Source/bindings/core/v8/V8PerIsolateData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8PerContextData.cpp
diff --git a/Source/bindings/core/v8/V8PerContextData.cpp b/Source/bindings/core/v8/V8PerContextData.cpp
index 03c0602a776ee6283e028a6161a766b9194814bb..cd10443f0d862a3c160ceaa0607c1e4d0ebc5d04 100644
--- a/Source/bindings/core/v8/V8PerContextData.cpp
+++ b/Source/bindings/core/v8/V8PerContextData.cpp
@@ -96,7 +96,7 @@ v8::Local<v8::Function> V8PerContextData::constructorForTypeSlowCase(const Wrapp
// We shouldn't reach this point for the types that are implemented in v8 suche as typed arrays and
// hence don't have domTemplateFunction.
ASSERT(type->domTemplateFunction);
- v8::Handle<v8::FunctionTemplate> functionTemplate = type->domTemplate(m_isolate);
+ v8::Local<v8::FunctionTemplate> functionTemplate = type->domTemplate(m_isolate);
// Getting the function might fail if we're running out of stack or memory.
v8::Local<v8::Function> function;
if (!functionTemplate->GetFunction(currentContext).ToLocal(&function))
@@ -141,12 +141,12 @@ void V8PerContextData::addCustomElementBinding(CustomElementDefinition* definiti
m_customElementBindings.append(binding);
}
-v8::Handle<v8::Value> V8PerContextData::compiledPrivateScript(String className)
+v8::Local<v8::Value> V8PerContextData::compiledPrivateScript(String className)
{
return m_compiledPrivateScript.Get(className);
}
-void V8PerContextData::setCompiledPrivateScript(String className, v8::Handle<v8::Value> compiledObject)
+void V8PerContextData::setCompiledPrivateScript(String className, v8::Local<v8::Value> compiledObject)
{
m_compiledPrivateScript.Set(className, compiledObject);
}
« no previous file with comments | « Source/bindings/core/v8/V8PerContextData.h ('k') | Source/bindings/core/v8/V8PerIsolateData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698