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

Unified Diff: Source/bindings/dart/custom/DartDOMStringListCustom.cpp

Issue 27140002: Use Dart_InstanceIsSubtypeOf to check if instance is a direct subtype of specified type. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit/
Patch Set: Created 7 years, 2 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
Index: Source/bindings/dart/custom/DartDOMStringListCustom.cpp
===================================================================
--- Source/bindings/dart/custom/DartDOMStringListCustom.cpp (revision 1430)
+++ Source/bindings/dart/custom/DartDOMStringListCustom.cpp (working copy)
@@ -12,7 +12,7 @@
PassRefPtr<DOMStringList> DartDOMStringList::toNative(Dart_Handle handle, Dart_Handle& exception)
{
DartDOMData* domData = DartDOMData::current();
- if (DartDOMWrapper::instanceOf<DartDOMStringList>(domData, handle))
+ if (DartDOMWrapper::subtypeOf<DartDOMStringList>(domData, handle))
return DartDOMWrapper::unwrapDartWrapper<DartDOMStringList>(domData, handle, exception);
Vector<Dart_Handle> elements;

Powered by Google App Engine
This is Rietveld 408576698