Index: Source/core/html/shadow/DateTimeEditElement.cpp |
diff --git a/Source/core/html/shadow/DateTimeEditElement.cpp b/Source/core/html/shadow/DateTimeEditElement.cpp |
index 1e3ebc1da9d9b1c5072e7bfaa24767a66048eef3..c56edae59e129710fe5372b40c81d91eb208c8f3 100644 |
--- a/Source/core/html/shadow/DateTimeEditElement.cpp |
+++ b/Source/core/html/shadow/DateTimeEditElement.cpp |
@@ -407,9 +407,9 @@ void DateTimeEditBuilder::visitLiteral(const String& text) |
if (m_parameters.locale.isRTL() && text.length()) { |
Direction dir = direction(text[0]); |
if (dir == SegmentSeparator || dir == WhiteSpaceNeutral || dir == OtherNeutral) |
- element->appendChild(Text::create(&m_editElement.document(), String(&rightToLeftMark, 1))); |
+ element->appendChild(Text::create(m_editElement.document(), String(&rightToLeftMark, 1))); |
} |
- element->appendChild(Text::create(&m_editElement.document(), text)); |
+ element->appendChild(Text::create(m_editElement.document(), text)); |
m_editElement.fieldsWrapperElement()->appendChild(element); |
} |