Index: sky/engine/core/dom/Element.h |
diff --git a/sky/engine/core/dom/Element.h b/sky/engine/core/dom/Element.h |
index 4b046b80b0047a8769b49a6b83c17b593d533a58..fbfe3298813c430319c29d7012eaab7957d0288e 100644 |
--- a/sky/engine/core/dom/Element.h |
+++ b/sky/engine/core/dom/Element.h |
@@ -76,6 +76,9 @@ public: |
bool hasAttribute(const AtomicString& name) const; |
const AtomicString& getAttribute(const AtomicString& name) const; |
void setAttribute(const AtomicString& name, const AtomicString& value, ExceptionState&); |
+ void setAttribute(const AtomicString& name, ExceptionState& es) { |
+ setAttribute(name, String(), es); |
+ } |
void removeAttribute(const AtomicString& name); |
void removeAttribute(const QualifiedName&); |