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

Unified Diff: Source/core/html/forms/InputType.cpp

Issue 656723005: Use C++11 features in core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use nullptr Created 6 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/forms/InputType.cpp
diff --git a/Source/core/html/forms/InputType.cpp b/Source/core/html/forms/InputType.cpp
index bb9903ef6e28d866e04c946651fedffa58e711d8..64e41a9082861ecd3e295a970b7861fafc77abeb 100644
--- a/Source/core/html/forms/InputType.cpp
+++ b/Source/core/html/forms/InputType.cpp
@@ -442,7 +442,7 @@ Chrome* InputType::chrome() const
{
if (FrameHost* host = element().document().frameHost())
return &host->chrome();
- return 0;
+ return nullptr;
}
Locale& InputType::locale() const
@@ -508,7 +508,7 @@ bool InputType::rendererIsNeeded()
FileList* InputType::files()
{
- return 0;
+ return nullptr;
}
void InputType::setFiles(FileList*)
@@ -730,7 +730,7 @@ TextDirection InputType::computedTextDirection()
ColorChooserClient* InputType::colorChooserClient()
{
- return 0;
+ return nullptr;
}
void InputType::applyStep(const Decimal& current, int count, AnyStepHandling anyStepHandling, TextFieldEventBehavior eventBehavior, ExceptionState& exceptionState)

Powered by Google App Engine
This is Rietveld 408576698