Index: Source/core/html/BaseChooserOnlyDateAndTimeInputType.cpp |
diff --git a/Source/core/html/BaseChooserOnlyDateAndTimeInputType.cpp b/Source/core/html/BaseChooserOnlyDateAndTimeInputType.cpp |
index 53392385482854f5973577138c6af2fc4aeef496..39eab63d359952e0cb5e81efafb99eebea794627 100644 |
--- a/Source/core/html/BaseChooserOnlyDateAndTimeInputType.cpp |
+++ b/Source/core/html/BaseChooserOnlyDateAndTimeInputType.cpp |
@@ -61,7 +61,7 @@ void BaseChooserOnlyDateAndTimeInputType::createShadowSubtree() |
{ |
DEFINE_STATIC_LOCAL(AtomicString, valueContainerPseudo, ("-webkit-date-and-time-value", AtomicString::ConstructFromLiteral)); |
- RefPtr<HTMLDivElement> valueContainer = HTMLDivElement::create(&element()->document()); |
+ RefPtr<HTMLDivElement> valueContainer = HTMLDivElement::create(element()->document()); |
valueContainer->setPart(valueContainerPseudo); |
element()->userAgentShadowRoot()->appendChild(valueContainer.get()); |
updateAppearance(); |