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

Unified Diff: Source/core/layout/LayoutSliderContainer.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/LayoutSlider.cpp ('k') | Source/core/layout/LayoutTextControlSingleLine.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutSliderContainer.cpp
diff --git a/Source/core/layout/LayoutSliderContainer.cpp b/Source/core/layout/LayoutSliderContainer.cpp
index e6026bbb1f5ba8384cabe9e7496285c0e8327f26..2cb1705b75955e837f17b15477a362e796947b17 100644
--- a/Source/core/layout/LayoutSliderContainer.cpp
+++ b/Source/core/layout/LayoutSliderContainer.cpp
@@ -109,8 +109,8 @@ void LayoutSliderContainer::layout()
style()->setDirection(LTR);
}
- Element* thumbElement = input->userAgentShadowRoot()->getElementById(ShadowElementNames::sliderThumb());
- Element* trackElement = input->userAgentShadowRoot()->getElementById(ShadowElementNames::sliderTrack());
+ Element* thumbElement = input->closedShadowRoot()->getElementById(ShadowElementNames::sliderThumb());
+ Element* trackElement = input->closedShadowRoot()->getElementById(ShadowElementNames::sliderTrack());
RenderBox* thumb = thumbElement ? thumbElement->renderBox() : 0;
RenderBox* track = trackElement ? trackElement->renderBox() : 0;
« no previous file with comments | « Source/core/layout/LayoutSlider.cpp ('k') | Source/core/layout/LayoutTextControlSingleLine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698