Index: third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
index 8c563c40c90574251a95d577c4f9438c8edc123f..00ec35d18a1152789a2a457c7f39ee88f64b8b9e 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
@@ -118,12 +118,11 @@ HTMLInputElement::HTMLInputElement(Document& document, |
m_canReceiveDroppedFiles(false), |
m_shouldRevealPassword(false), |
m_needsToUpdateViewValue(true), |
- m_isPlaceholderVisible(false) |
+ m_isPlaceholderVisible(false), |
// |m_inputType| is lazily created when constructed by the parser to avoid |
// constructing unnecessarily a text inputType and its shadow subtree, just |
// to destroy them when the |type| attribute gets set by the parser to |
// something else than 'text'. |
- , |
m_inputType(createdByParser ? nullptr : InputType::createText(*this)), |
m_inputTypeView(m_inputType ? m_inputType->createView() : nullptr) { |
setHasCustomStyleCallbacks(); |