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

Unified Diff: Source/core/html/shadow/SliderThumbElement.cpp

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 9 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/html/shadow/SliderThumbElement.h ('k') | Source/core/html/shadow/TextControlInnerElements.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/SliderThumbElement.cpp
diff --git a/Source/core/html/shadow/SliderThumbElement.cpp b/Source/core/html/shadow/SliderThumbElement.cpp
index c3e81a2ef8d9b807d2e044ecef435b6a90e21ac0..5f5619881d1de1bb9db13822ecc94905a2091cbc 100644
--- a/Source/core/html/shadow/SliderThumbElement.cpp
+++ b/Source/core/html/shadow/SliderThumbElement.cpp
@@ -54,7 +54,7 @@ using namespace HTMLNames;
inline static bool hasVerticalAppearance(HTMLInputElement* input)
{
ASSERT(input->layoutObject());
- const LayoutStyle& sliderStyle = input->layoutObject()->styleRef();
+ const ComputedStyle& sliderStyle = input->layoutObject()->styleRef();
return sliderStyle.appearance() == SliderVerticalPart;
}
@@ -81,7 +81,7 @@ void SliderThumbElement::setPositionFromValue()
layoutObject()->setNeedsLayoutAndFullPaintInvalidation();
}
-LayoutObject* SliderThumbElement::createLayoutObject(const LayoutStyle&)
+LayoutObject* SliderThumbElement::createLayoutObject(const ComputedStyle&)
{
return new LayoutSliderThumb(this);
}
@@ -283,7 +283,7 @@ const AtomicString& SliderThumbElement::shadowPseudoId() const
if (!input || !input->layoutObject())
return sliderThumbShadowPartId();
- const LayoutStyle& sliderStyle = input->layoutObject()->styleRef();
+ const ComputedStyle& sliderStyle = input->layoutObject()->styleRef();
switch (sliderStyle.appearance()) {
case MediaSliderPart:
case MediaSliderThumbPart:
@@ -306,7 +306,7 @@ inline SliderContainerElement::SliderContainerElement(Document& document)
DEFINE_NODE_FACTORY(SliderContainerElement)
-LayoutObject* SliderContainerElement::createLayoutObject(const LayoutStyle&)
+LayoutObject* SliderContainerElement::createLayoutObject(const ComputedStyle&)
{
return new LayoutSliderContainer(this);
}
@@ -319,7 +319,7 @@ const AtomicString& SliderContainerElement::shadowPseudoId() const
if (!shadowHost() || !shadowHost()->layoutObject())
return sliderContainer;
- const LayoutStyle& sliderStyle = shadowHost()->layoutObject()->styleRef();
+ const ComputedStyle& sliderStyle = shadowHost()->layoutObject()->styleRef();
switch (sliderStyle.appearance()) {
case MediaSliderPart:
case MediaSliderThumbPart:
« no previous file with comments | « Source/core/html/shadow/SliderThumbElement.h ('k') | Source/core/html/shadow/TextControlInnerElements.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698