Index: Source/core/html/HTMLSelectElement.cpp |
diff --git a/Source/core/html/HTMLSelectElement.cpp b/Source/core/html/HTMLSelectElement.cpp |
index 4a73a7c416dea0f0299ac73dcd05dbc76553f05a..d89691a8089c58ac85126a44a01ea313a4fc3e91 100644 |
--- a/Source/core/html/HTMLSelectElement.cpp |
+++ b/Source/core/html/HTMLSelectElement.cpp |
@@ -409,7 +409,7 @@ void HTMLSelectElement::setOption(unsigned index, HTMLOptionElement* option, Exc |
if (index > maxSelectItems - 1) |
index = maxSelectItems - 1; |
int diff = index - length(); |
- RefPtr<HTMLElement> before = 0; |
+ RefPtr<HTMLElement> before = nullptr; |
// Out of array bounds? First insert empty dummies. |
if (diff > 0) { |
setLength(index, exceptionState); |