Index: Source/core/html/shadow/DateTimeFieldElement.cpp |
diff --git a/Source/core/html/shadow/DateTimeFieldElement.cpp b/Source/core/html/shadow/DateTimeFieldElement.cpp |
index d7ee1e3cc4afc82608b4331c34db64dab8811de1..ae9c5d00767d27d4220546d19be912dc75ee4a59 100644 |
--- a/Source/core/html/shadow/DateTimeFieldElement.cpp |
+++ b/Source/core/html/shadow/DateTimeFieldElement.cpp |
@@ -154,7 +154,7 @@ void DateTimeFieldElement::initialize(const AtomicString& pseudo, const String& |
setAttribute(aria_helpAttr, axHelpText); |
setPart(pseudo); |
- appendChild(Text::create(document(), visibleValue())); |
+ appendChild(Text::create(&document(), visibleValue())); |
} |
bool DateTimeFieldElement::isDateTimeFieldElement() const |
@@ -179,7 +179,7 @@ bool DateTimeFieldElement::isDisabled() const |
Locale& DateTimeFieldElement::localeForOwner() const |
{ |
- return document()->getCachedLocale(localeIdentifier()); |
+ return document().getCachedLocale(localeIdentifier()); |
} |
AtomicString DateTimeFieldElement::localeIdentifier() const |