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

Unified Diff: Source/core/html/HTMLElement.cpp

Issue 84713002: Add number() static methods to AtomicString class (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
Index: Source/core/html/HTMLElement.cpp
diff --git a/Source/core/html/HTMLElement.cpp b/Source/core/html/HTMLElement.cpp
index f3f6b337a2573505073d1389751df16064a7fd98..f927e5a605f696a54cb2ece23a805a8d31783b94 100644
--- a/Source/core/html/HTMLElement.cpp
+++ b/Source/core/html/HTMLElement.cpp
@@ -680,7 +680,7 @@ short HTMLElement::tabIndex() const
void HTMLElement::setTabIndex(int value)
{
- setAttribute(tabindexAttr, String::number(value));
+ setAttribute(tabindexAttr, AtomicString::number(value));
}
TranslateAttributeMode HTMLElement::translateAttributeMode() const

Powered by Google App Engine
This is Rietveld 408576698