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

Unified Diff: Source/bindings/dart/DartUtilities.h

Issue 26571005: Enforcing that custom tag extensions have correct super classes. (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/DartUtilities.h
diff --git a/Source/bindings/dart/DartUtilities.h b/Source/bindings/dart/DartUtilities.h
index 16171d31f66bf942ebd7fac2171c24287f5ee64d..aaeb4956fe1bc10c8493557acbf28d8982392fb0 100644
--- a/Source/bindings/dart/DartUtilities.h
+++ b/Source/bindings/dart/DartUtilities.h
@@ -483,6 +483,7 @@ public:
static bool isImageData(DartDOMData*, Dart_Handle);
static bool isIDBKeyRange(DartDOMData*, Dart_Handle);
static bool isTypeSubclassOf(Dart_Handle type, intptr_t libraryId, const char* typeName);
+ static bool isTypeSubclassOfTag(Dart_Handle type, const String& tagName);
static bool objectIsType(Dart_Handle, Dart_Handle type);
static bool isTypedData(Dart_Handle);

Powered by Google App Engine
This is Rietveld 408576698