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

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

Issue 23464095: WTF::notFound looks too much like a local variable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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/HTMLSelectElement.cpp ('k') | Source/core/html/MediaFragmentURIParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLTextFormControlElement.cpp
diff --git a/Source/core/html/HTMLTextFormControlElement.cpp b/Source/core/html/HTMLTextFormControlElement.cpp
index 4887402dcb3c132fe8158a8d9160fbcc627cded0..dd3f8fa0aa02ab28300051677f675adf97af9823 100644
--- a/Source/core/html/HTMLTextFormControlElement.cpp
+++ b/Source/core/html/HTMLTextFormControlElement.cpp
@@ -132,7 +132,7 @@ static bool isNotLineBreak(UChar ch) { return ch != newlineCharacter && ch != ca
bool HTMLTextFormControlElement::isPlaceholderEmpty() const
{
const AtomicString& attributeValue = fastGetAttribute(placeholderAttr);
- return attributeValue.string().find(isNotLineBreak) == notFound;
+ return attributeValue.string().find(isNotLineBreak) == kNotFound;
}
bool HTMLTextFormControlElement::placeholderShouldBeVisible() const
« no previous file with comments | « Source/core/html/HTMLSelectElement.cpp ('k') | Source/core/html/MediaFragmentURIParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698