#if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
#include "core/html/shadow/DateTimeEditElement.h"
-#include "bindings/v8/ExceptionStatePlaceholder.h"
+#include "bindings/core/v8/ExceptionStatePlaceholder.h"
#include "core/HTMLNames.h"
#include "core/dom/Document.h"
#include "core/dom/Text.h"
#include "platform/text/PlatformLocale.h"
#include "wtf/DateMath.h"
-namespace WebCore {
+namespace blink {
using namespace HTMLNames;
using namespace WTF::Unicode;
void DateTimeEditElement::layout(const LayoutParameters& layoutParameters, const DateComponents& dateValue)
{
DEFINE_STATIC_LOCAL(AtomicString, fieldsWrapperPseudoId, ("-webkit-datetime-edit-fields-wrapper", AtomicString::ConstructFromLiteral));
- if (!firstChild()) {
+ if (!hasChildren()) {
RefPtrWillBeRawPtr<HTMLDivElement> element = HTMLDivElement::create(document());
element->setShadowPseudoId(fieldsWrapperPseudoId);
appendChild(element.get());
return dateTimeFieldsState;
}
-} // namespace WebCore
+} // namespace blink
#endif