Index: Source/bindings/v8/CustomElementHelpers.h |
diff --git a/Source/bindings/v8/CustomElementHelpers.h b/Source/bindings/v8/CustomElementHelpers.h |
index 035d59c0d88cada9b909a507b43b447bbd1375a0..b6d11cb7908a7c7dfbedd24a755270e3fd704c30 100644 |
--- a/Source/bindings/v8/CustomElementHelpers.h |
+++ b/Source/bindings/v8/CustomElementHelpers.h |
@@ -31,6 +31,7 @@ |
#ifndef CustomElementHelpers_h |
#define CustomElementHelpers_h |
+#include "V8Element.h" |
#include "bindings/v8/DOMDataStore.h" |
#include "core/dom/Element.h" |
#include "wtf/PassRefPtr.h" |
@@ -76,7 +77,7 @@ private: |
inline v8::Handle<v8::Object> CustomElementHelpers::wrap(Element* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate, const CreateWrapperFunction& createWrapper) |
{ |
ASSERT(impl); |
- ASSERT(DOMDataStore::getWrapper(impl, isolate).IsEmpty()); |
+ ASSERT(DOMDataStore::getWrapper<V8Element>(impl, isolate).IsEmpty()); |
return CustomElementHelpers::createWrapper(impl, creationContext, isolate, createWrapper); |
} |