Index: Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp |
diff --git a/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp b/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp |
index ee7a8c8183b3a256622ae38089f8ea3762542e5f..9923fdfd29cf1ff82bb7a91acbb68b25cb46696e 100644 |
--- a/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp |
+++ b/Source/core/html/BaseMultipleFieldsDateAndTimeInputType.cpp |
@@ -333,10 +333,10 @@ void BaseMultipleFieldsDateAndTimeInputType::createShadowSubtree() |
Document& document = element()->document(); |
ContainerNode* container = element()->userAgentShadowRoot(); |
- container->appendChild(DateTimeEditElement::create(&document, *this)); |
+ container->appendChild(DateTimeEditElement::create(document, *this)); |
updateInnerTextValue(); |
- container->appendChild(ClearButtonElement::create(&document, *this)); |
- container->appendChild(SpinButtonElement::create(&document, *this)); |
+ container->appendChild(ClearButtonElement::create(document, *this)); |
+ container->appendChild(SpinButtonElement::create(document, *this)); |
bool shouldAddPickerIndicator = false; |
if (InputType::themeSupportsDataListUI(this)) |
@@ -346,7 +346,7 @@ void BaseMultipleFieldsDateAndTimeInputType::createShadowSubtree() |
m_pickerIndicatorIsAlwaysVisible = true; |
} |
if (shouldAddPickerIndicator) { |
- container->appendChild(PickerIndicatorElement::create(&document, *this)); |
+ container->appendChild(PickerIndicatorElement::create(document, *this)); |
m_pickerIndicatorIsVisible = true; |
updatePickerIndicatorVisibility(); |
} |