Index: third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
index 93524f6f22a7a8a18d52d5aa1889c4d096553b0b..750e96192e6295ae9bb99c8ba72ea1ae06392109 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
@@ -159,13 +159,6 @@ void HTMLInputElement::didAddUserAgentShadowRoot(ShadowRoot&) |
m_inputTypeView->createShadowSubtree(); |
} |
-void HTMLInputElement::willAddFirstAuthorShadowRoot() |
-{ |
- m_inputTypeView->destroyShadowSubtree(); |
- m_inputTypeView = InputTypeView::create(*this); |
- lazyReattachIfAttached(); |
-} |
- |
HTMLInputElement::~HTMLInputElement() |
{ |
} |
@@ -472,10 +465,7 @@ void HTMLInputElement::updateType() |
lazyReattachIfAttached(); |
m_inputType = newType; |
- if (openShadowRoot()) |
- m_inputTypeView = InputTypeView::create(*this); |
- else |
- m_inputTypeView = m_inputType->createView(); |
+ m_inputTypeView = m_inputType->createView(); |
m_inputTypeView->createShadowSubtree(); |
updateTouchEventHandlerRegistry(); |