| Index: Source/core/html/HTMLInputElement.cpp
|
| diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
|
| index e5a7d3d102172f7c1d032d28ad67c591dc7fada8..9eef1558381346f5105971ae69b0f1e8f3ee5b0a 100644
|
| --- a/Source/core/html/HTMLInputElement.cpp
|
| +++ b/Source/core/html/HTMLInputElement.cpp
|
| @@ -132,9 +132,7 @@ HTMLInputElement::HTMLInputElement(Document& document, HTMLFormElement* form, bo
|
| , m_inputType(createdByParser ? nullptr : 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)
|
| @@ -1876,12 +1874,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)
|
| {
|
| @@ -1898,4 +1894,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
|
|
|