Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index b90e8b45242f22c10ffad1b8a7862215e777f1a7..c598ea523fbfca948c617b0b659ab7ac2af143dd 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -126,9 +126,7 @@ HTMLInputElement::HTMLInputElement(Document& document, HTMLFormElement* form, bo |
, m_inputType(InputType::createText(*this)) |
, m_inputTypeView(m_inputType) |
{ |
-#if ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
setHasCustomStyleCallbacks(); |
-#endif |
ScriptWrappable::init(this); |
} |
@@ -1878,12 +1876,10 @@ bool HTMLInputElement::supportsAutofocus() const |
return m_inputType->isInteractiveContent(); |
} |
-#if ENABLE(INPUT_MULTIPLE_FIELDS_UI) |
PassRefPtr<RenderStyle> HTMLInputElement::customStyleForRenderer() |
{ |
return m_inputTypeView->customStyleForRenderer(originalStyleForRenderer()); |
} |
-#endif |
bool HTMLInputElement::shouldDispatchFormControlChangeEvent(String& oldValue, String& newValue) |
{ |
@@ -1900,4 +1896,14 @@ AXObject* HTMLInputElement::popupRootAXObject() |
return m_inputTypeView->popupRootAXObject(); |
} |
+void HTMLInputElement::ensureFallbackContent() |
+{ |
+ m_inputTypeView->ensureFallbackContent(); |
+} |
+ |
+void HTMLInputElement::ensurePrimaryContent() |
+{ |
+ m_inputTypeView->ensurePrimaryContent(); |
+} |
+ |
} // namespace |