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

Unified Diff: Source/core/html/HTMLTextAreaElement.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/html/HTMLObjectElement.cpp ('k') | Source/core/rendering/RenderQuote.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLTextAreaElement.cpp
diff --git a/Source/core/html/HTMLTextAreaElement.cpp b/Source/core/html/HTMLTextAreaElement.cpp
index aee74dfd44c484d1eb9d6286225aeba93da99afc..160c4e6d12689dc69ec4b59f1a3fd3a0116a0f86 100644
--- a/Source/core/html/HTMLTextAreaElement.cpp
+++ b/Source/core/html/HTMLTextAreaElement.cpp
@@ -442,7 +442,7 @@ void HTMLTextAreaElement::setDefaultValue(const String& defaultValue)
int HTMLTextAreaElement::maxLength() const
{
bool ok;
- int value = getAttribute(maxlengthAttr).string().toInt(&ok);
+ int value = getAttribute(maxlengthAttr).toInt(&ok);
return ok && value >= 0 ? value : -1;
}
« no previous file with comments | « Source/core/html/HTMLObjectElement.cpp ('k') | Source/core/rendering/RenderQuote.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698