Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(578)

Unified Diff: Source/core/layout/LayoutTextControlSingleLine.cpp

Issue 935283002: Rename {Author,UserAgent}ShadowRoot to {Open,Closed}ShadowRoot. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix inspector tests Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/LayoutSliderContainer.cpp ('k') | Source/core/layout/LayoutTheme.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/core/layout/LayoutSliderContainer.cpp ('k') | Source/core/layout/LayoutTheme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698