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

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

Issue 656723005: Use C++11 features in core/html (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: mike's comments 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
« no previous file with comments | « Source/core/html/PublicURLManager.cpp ('k') | Source/core/html/URLRegistry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/RadioNodeList.cpp
diff --git a/Source/core/html/RadioNodeList.cpp b/Source/core/html/RadioNodeList.cpp
index 478de82f9b6488a39656040fa12a07ab77ef5d36..3b57208939967fcc1d1239ad822e5343a0a26d59 100644
--- a/Source/core/html/RadioNodeList.cpp
+++ b/Source/core/html/RadioNodeList.cpp
@@ -55,10 +55,10 @@ RadioNodeList::~RadioNodeList()
static inline HTMLInputElement* toRadioButtonInputElement(Element& element)
{
if (!isHTMLInputElement(element))
- return 0;
+ return nullptr;
HTMLInputElement& inputElement = toHTMLInputElement(element);
if (inputElement.type() != InputTypeNames::radio || inputElement.value().isEmpty())
- return 0;
+ return nullptr;
return &inputElement;
}
« no previous file with comments | « Source/core/html/PublicURLManager.cpp ('k') | Source/core/html/URLRegistry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698