Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index 1f2fed69eefcbaeb8f6dd79a86194da9d66c3598..6b46d953e5f497d3c05dc1cfee2c7dc0961a18e2 100644 |
--- a/Source/core/dom/Element.cpp |
+++ b/Source/core/dom/Element.cpp |
@@ -2608,7 +2608,7 @@ KURL Element::getNonEmptyURLAttribute(const QualifiedName& name) const |
int Element::getIntegralAttribute(const QualifiedName& attributeName) const |
{ |
- return getAttribute(attributeName).string().toInt(); |
+ return getAttribute(attributeName).toInt(); |
} |
void Element::setIntegralAttribute(const QualifiedName& attributeName, int value) |
@@ -2616,11 +2616,6 @@ void Element::setIntegralAttribute(const QualifiedName& attributeName, int value |
setAttribute(attributeName, AtomicString::number(value)); |
} |
-unsigned Element::getUnsignedIntegralAttribute(const QualifiedName& attributeName) const |
-{ |
- return getAttribute(attributeName).string().toUInt(); |
-} |
- |
void Element::setUnsignedIntegralAttribute(const QualifiedName& attributeName, unsigned value) |
{ |
// Range restrictions are enforced for unsigned IDL attributes that |