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

Unified Diff: Source/bindings/tests/results/core/V8Uint8ClampedArray.cpp

Issue 813513004: [bindings] Remove all the usages of Handle<> from binding templates. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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: Source/bindings/tests/results/core/V8Uint8ClampedArray.cpp
diff --git a/Source/bindings/tests/results/core/V8Uint8ClampedArray.cpp b/Source/bindings/tests/results/core/V8Uint8ClampedArray.cpp
index 1859c7f1adc01d6427631db6db932e1e603b4d88..1ccbe6aace2664bcacf7da56dd2e9389102be769 100644
--- a/Source/bindings/tests/results/core/V8Uint8ClampedArray.cpp
+++ b/Source/bindings/tests/results/core/V8Uint8ClampedArray.cpp
@@ -29,12 +29,12 @@ const WrapperTypeInfo V8Uint8ClampedArray::wrapperTypeInfo = { gin::kEmbedderBli
template<>
const WrapperTypeInfo& TestUint8ClampedArray::s_wrapperTypeInfo = V8Uint8ClampedArray::wrapperTypeInfo;
-bool V8Uint8ClampedArray::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
+bool V8Uint8ClampedArray::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* isolate)
{
return v8Value->IsUint8ClampedArray();
}
-TestUint8ClampedArray* V8Uint8ClampedArray::toImpl(v8::Handle<v8::Object> object)
+TestUint8ClampedArray* V8Uint8ClampedArray::toImpl(v8::Local<v8::Object> object)
{
ASSERT(object->IsUint8ClampedArray());
ScriptWrappable* scriptWrappable = toScriptWrappable(object);
@@ -48,9 +48,9 @@ TestUint8ClampedArray* V8Uint8ClampedArray::toImpl(v8::Handle<v8::Object> object
return typedArray->toImpl<TestUint8ClampedArray>();
}
-TestUint8ClampedArray* V8Uint8ClampedArray::toImplWithTypeCheck(v8::Isolate* isolate, v8::Handle<v8::Value> value)
+TestUint8ClampedArray* V8Uint8ClampedArray::toImplWithTypeCheck(v8::Isolate* isolate, v8::Local<v8::Value> value)
{
- return hasInstance(value, isolate) ? toImpl(v8::Handle<v8::Object>::Cast(value)) : 0;
+ return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value)) : 0;
}
void V8Uint8ClampedArray::refObject(ScriptWrappable* scriptWrappable)
« no previous file with comments | « Source/bindings/tests/results/core/V8Uint8ClampedArray.h ('k') | Source/bindings/tests/results/modules/V8TestInterface5.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698