summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/js/JSAttrCustom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/js/JSAttrCustom.cpp')
-rw-r--r--WebCore/bindings/js/JSAttrCustom.cpp17
1 files changed, 1 insertions, 16 deletions
diff --git a/WebCore/bindings/js/JSAttrCustom.cpp b/WebCore/bindings/js/JSAttrCustom.cpp
index 4cd40ac..998ecad 100644
--- a/WebCore/bindings/js/JSAttrCustom.cpp
+++ b/WebCore/bindings/js/JSAttrCustom.cpp
@@ -31,9 +31,8 @@
#include "CSSHelper.h"
#include "Document.h"
-#include "HTMLFrameElementBase.h"
+#include "Element.h"
#include "HTMLNames.h"
-#include "JSDOMBinding.h"
using namespace JSC;
@@ -41,20 +40,6 @@ namespace WebCore {
using namespace HTMLNames;
-void JSAttr::setValue(ExecState* exec, JSValue value)
-{
- Attr* imp = static_cast<Attr*>(impl());
- String attrValue = valueToStringWithNullCheck(exec, value);
-
- Element* ownerElement = imp->ownerElement();
- if (ownerElement && !allowSettingSrcToJavascriptURL(exec, ownerElement, imp->name(), attrValue))
- return;
-
- ExceptionCode ec = 0;
- imp->setValue(attrValue, ec);
- setDOMException(exec, ec);
-}
-
void JSAttr::markChildren(MarkStack& markStack)
{
Base::markChildren(markStack);