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

Issue 26789007: Add a native subtype of function that uses the native C++ class hierarchy to check if an element (Closed)

Created:
7 years, 2 months ago by siva
Modified:
7 years, 2 months ago
Reviewers:
CC:
reviews+dom_dartlang.org
Visibility:
Public.

Description

Add a native subtype of function that uses the native C++ class hierarchy to check if an element is a subtype of the intended type. This ensures that it is not possible to pass in a wrapper that claims to implement an interface and accesses the native pointer incorrectly.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -57 lines) Patch
M Source/bindings/dart/DartCustomElementWrapper.cpp View 2 chunks +3 lines, -9 lines 0 comments Download
M Source/bindings/dart/DartDOMData.h View 2 chunks +2 lines, -13 lines 0 comments Download
M Source/bindings/dart/DartDOMWrapper.h View 6 chunks +28 lines, -10 lines 0 comments Download
A Source/bindings/dart/DartLibraryIds.h View 1 chunk +51 lines, -0 lines 0 comments Download
M Source/bindings/dart/DartNativeUtilities.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M Source/bindings/dart/DartUtilities.h View 2 chunks +0 lines, -2 lines 0 comments Download
M Source/bindings/dart/DartUtilities.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M Source/bindings/dart/custom/DartBlobCustom.cpp View 2 chunks +1 line, -2 lines 0 comments Download
M Source/bindings/dart/custom/DartCanvasRenderingContext2DCustom.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M Source/bindings/dart/custom/DartDOMStringListCustom.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M Source/bindings/dart/custom/DartHTMLOptionsCollectionCustom.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M Source/bindings/dart/custom/DartWebSocketCustom.cpp View 2 chunks +1 line, -3 lines 0 comments Download
M Source/bindings/dart/custom/DartXMLHttpRequestCustom.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/bindings/dart/gyp/dartium.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/dart/gyp/overrides.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Powered by Google App Engine
This is Rietveld 408576698