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

Unified Diff: Source/bindings/tests/results/core/V8ArrayBufferView.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/V8ArrayBufferView.cpp
diff --git a/Source/bindings/tests/results/core/V8ArrayBufferView.cpp b/Source/bindings/tests/results/core/V8ArrayBufferView.cpp
index 3042549a67b9b2d8d6ca6ec6bdf41a11b6b50d2d..9d7db707aa6f87a78a908079ef37276c2c50e264 100644
--- a/Source/bindings/tests/results/core/V8ArrayBufferView.cpp
+++ b/Source/bindings/tests/results/core/V8ArrayBufferView.cpp
@@ -38,12 +38,12 @@ const WrapperTypeInfo V8ArrayBufferView::wrapperTypeInfo = { gin::kEmbedderBlink
// bindings/core/v8/ScriptWrappable.h.
const WrapperTypeInfo& TestArrayBufferView::s_wrapperTypeInfo = V8ArrayBufferView::wrapperTypeInfo;
-bool V8ArrayBufferView::hasInstance(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
+bool V8ArrayBufferView::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* isolate)
{
return v8Value->IsArrayBufferView();
}
-TestArrayBufferView* V8ArrayBufferView::toImpl(v8::Handle<v8::Object> object)
+TestArrayBufferView* V8ArrayBufferView::toImpl(v8::Local<v8::Object> object)
{
ASSERT(object->IsArrayBufferView());
ScriptWrappable* scriptWrappable = toScriptWrappable(object);
@@ -75,9 +75,9 @@ TestArrayBufferView* V8ArrayBufferView::toImpl(v8::Handle<v8::Object> object)
return 0;
}
-TestArrayBufferView* V8ArrayBufferView::toImplWithTypeCheck(v8::Isolate* isolate, v8::Handle<v8::Value> value)
+TestArrayBufferView* V8ArrayBufferView::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 V8ArrayBufferView::refObject(ScriptWrappable* scriptWrappable)
« no previous file with comments | « Source/bindings/tests/results/core/V8ArrayBufferView.h ('k') | Source/bindings/tests/results/core/V8DataView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698