Index: sky/engine/bindings/core/v8/custom/V8NodeCustom.cpp |
diff --git a/sky/engine/bindings/core/v8/custom/V8NodeCustom.cpp b/sky/engine/bindings/core/v8/custom/V8NodeCustom.cpp |
index de5707833c93542e010ce7fadccbd89ed846a47f..b9b6245f4533b4c3aeb0b304c8d565114b556a52 100644 |
--- a/sky/engine/bindings/core/v8/custom/V8NodeCustom.cpp |
+++ b/sky/engine/bindings/core/v8/custom/V8NodeCustom.cpp |
@@ -60,8 +60,6 @@ v8::Handle<v8::Object> wrap(Node* impl, v8::Handle<v8::Object> creationContext, |
if (impl->isHTMLElement()) |
return wrap(toHTMLElement(impl), creationContext, isolate); |
return V8Element::createWrapper(toElement(impl), creationContext, isolate); |
- case Node::ATTRIBUTE_NODE: |
- return wrap(toAttr(impl), creationContext, isolate); |
case Node::TEXT_NODE: |
return wrap(toText(impl), creationContext, isolate); |
case Node::DOCUMENT_NODE: |