Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(792)

Unified Diff: Source/core/dom/Element.cpp

Issue 560273004: Use AtomicString API directly (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add more Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Element.h ('k') | Source/core/html/HTMLEmbedElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/dom/Element.h ('k') | Source/core/html/HTMLEmbedElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698