Index: Source/core/layout/LayoutTextControlSingleLine.cpp |
diff --git a/Source/core/layout/LayoutTextControlSingleLine.cpp b/Source/core/layout/LayoutTextControlSingleLine.cpp |
index 6ce2df45e26adbf952ace6fd180fd9ecdba41562..d3dbf3ca121cc03bd9f1c982de55cbc3710a8045 100644 |
--- a/Source/core/layout/LayoutTextControlSingleLine.cpp |
+++ b/Source/core/layout/LayoutTextControlSingleLine.cpp |
@@ -53,17 +53,17 @@ LayoutTextControlSingleLine::~LayoutTextControlSingleLine() |
inline Element* LayoutTextControlSingleLine::containerElement() const |
{ |
- return inputElement()->userAgentShadowRoot()->getElementById(ShadowElementNames::textFieldContainer()); |
+ return inputElement()->closedShadowRoot()->getElementById(ShadowElementNames::textFieldContainer()); |
} |
inline Element* LayoutTextControlSingleLine::editingViewPortElement() const |
{ |
- return inputElement()->userAgentShadowRoot()->getElementById(ShadowElementNames::editingViewPort()); |
+ return inputElement()->closedShadowRoot()->getElementById(ShadowElementNames::editingViewPort()); |
} |
inline HTMLElement* LayoutTextControlSingleLine::innerSpinButtonElement() const |
{ |
- return toHTMLElement(inputElement()->userAgentShadowRoot()->getElementById(ShadowElementNames::spinButton())); |
+ return toHTMLElement(inputElement()->closedShadowRoot()->getElementById(ShadowElementNames::spinButton())); |
} |
void LayoutTextControlSingleLine::paint(const PaintInfo& paintInfo, const LayoutPoint& paintOffset) |