Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index bf3eee5c0dd5cd2a23070ae0b8bd867293923e21..03a3844148a46536e4d8d60daeb69c47ce9ac77c 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -128,9 +128,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 |
} |
PassRefPtrWillBeRawPtr<HTMLInputElement> HTMLInputElement::create(Document& document, HTMLFormElement* form, bool createdByParser) |
@@ -1831,12 +1829,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) |
{ |
@@ -1853,4 +1849,18 @@ AXObject* HTMLInputElement::popupRootAXObject() |
return m_inputTypeView->popupRootAXObject(); |
} |
+void HTMLInputElement::ensureFallbackContent() |
+{ |
+ m_inputTypeView->ensureFallbackContent(); |
+} |
+ |
+void HTMLInputElement::ensurePrimaryContent() |
+{ |
+ m_inputTypeView->ensurePrimaryContent(); |
+} |
+ |
+bool HTMLInputElement::hasFallbackContent() const |
+{ |
+ return m_inputTypeView->hasFallbackContent(); |
+} |
} // namespace |