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

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

Issue 985663003: Replacing 0 with nullptr (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated. Created 5 years, 9 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 | « no previous file | no next file » | 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 a08935d1e059e54223a8d8549133a9df561e3635..07d110d934cfd1abd15c7d45c190d7bf6b0d9082 100644
--- a/Source/core/html/HTMLTextAreaElement.cpp
+++ b/Source/core/html/HTMLTextAreaElement.cpp
@@ -525,7 +525,7 @@ String HTMLTextAreaElement::validationMessage() const
bool HTMLTextAreaElement::valueMissing() const
{
// We should not call value() for performance.
- return willValidate() && valueMissing(0);
+ return willValidate() && valueMissing(nullptr);
}
bool HTMLTextAreaElement::valueMissing(const String* value) const
@@ -536,13 +536,13 @@ bool HTMLTextAreaElement::valueMissing(const String* value) const
bool HTMLTextAreaElement::tooLong() const
{
// We should not call value() for performance.
- return willValidate() && tooLong(0, CheckDirtyFlag);
+ return willValidate() && tooLong(nullptr, CheckDirtyFlag);
}
bool HTMLTextAreaElement::tooShort() const
{
// We should not call value() for performance.
- return willValidate() && tooShort(0, CheckDirtyFlag);
+ return willValidate() && tooShort(nullptr, CheckDirtyFlag);
}
bool HTMLTextAreaElement::tooLong(const String* value, NeedsToCheckDirtyFlag check) const
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698