Index: Source/bindings/v8/custom/V8CustomElementConstructorCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8CustomElementConstructorCustom.cpp b/Source/bindings/v8/custom/V8CustomElementConstructorCustom.cpp |
index b693b6cb6cc99b11c17b63d9a863ea8ae1d788d6..4a82721b3e5a18fa9b61903fb63d6fd7fd3b3df3 100644 |
--- a/Source/bindings/v8/custom/V8CustomElementConstructorCustom.cpp |
+++ b/Source/bindings/v8/custom/V8CustomElementConstructorCustom.cpp |
@@ -32,6 +32,7 @@ |
#include "V8CustomElementConstructor.h" |
+#include "V8Element.h" |
#include "bindings/v8/CustomElementHelpers.h" |
#include "bindings/v8/V8Binding.h" |
#include "core/dom/CustomElementConstructor.h" |
@@ -52,8 +53,8 @@ v8::Handle<v8::Value> V8CustomElementConstructor::callAsFunctionCallback(const v |
setDOMException(ec, args.GetIsolate()); |
return v8Undefined(); |
} |
- // FIXME: is args.Holder() the right creation context? |
- return CustomElementHelpers::wrap(element.get(), args.Holder(), args.GetIsolate()); |
+ |
+ return toV8(element.get(), args.Holder(), args.GetIsolate()); |
} |
} // namespace WebCore |