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

Unified Diff: Source/bindings/dart/DartCustomElementBinding.cpp

Issue 27769002: Fixing custom element type extensions to have correct native 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/DartCustomElementBinding.cpp
diff --git a/Source/bindings/dart/DartCustomElementBinding.cpp b/Source/bindings/dart/DartCustomElementBinding.cpp
index abe0696acc348c2c2c64595f4a3ca95580e96b74..1297d6df674de002012346a0c1e1026a36dbfab8 100644
--- a/Source/bindings/dart/DartCustomElementBinding.cpp
+++ b/Source/bindings/dart/DartCustomElementBinding.cpp
@@ -33,13 +33,14 @@
namespace WebCore {
-PassOwnPtr<DartCustomElementBinding> DartCustomElementBinding::create(Dart_Handle customType)
+PassOwnPtr<DartCustomElementBinding> DartCustomElementBinding::create(Dart_Handle customType, intptr_t nativeClassId)
{
- return adoptPtr(new DartCustomElementBinding(customType));
+ return adoptPtr(new DartCustomElementBinding(customType, nativeClassId));
}
-DartCustomElementBinding::DartCustomElementBinding(Dart_Handle customType)
+DartCustomElementBinding::DartCustomElementBinding(Dart_Handle customType, intptr_t nativeClassId)
: m_customType(Dart_NewPersistentHandle(customType))
+ , m_nativeClassId(nativeClassId)
{
}
« no previous file with comments | « Source/bindings/dart/DartCustomElementBinding.h ('k') | Source/bindings/dart/DartCustomElementConstructorBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698