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

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

Powered by Google App Engine
This is Rietveld 408576698