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

Unified Diff: Source/core/html/forms/RangeInputType.cpp

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master 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
Index: Source/core/html/forms/RangeInputType.cpp
diff --git a/Source/core/html/forms/RangeInputType.cpp b/Source/core/html/forms/RangeInputType.cpp
index 54649a43de8a2013f2a4c12a66576c8a32208c12..01d451e0808ae383b386ea494fc872c6b0a22f8c 100644
--- a/Source/core/html/forms/RangeInputType.cpp
+++ b/Source/core/html/forms/RangeInputType.cpp
@@ -191,8 +191,8 @@ void RangeInputType::handleKeydownEvent(KeyboardEvent* event)
const Decimal bigStep = std::max((stepRange.maximum() - stepRange.minimum()) / 10, step);
bool isVertical = false;
- if (element().renderer()) {
- ControlPart part = element().renderer()->style()->appearance();
+ if (element().layoutObject()) {
+ ControlPart part = element().layoutObject()->style()->appearance();
isVertical = part == SliderVerticalPart;
}
@@ -326,8 +326,8 @@ void RangeInputType::listAttributeTargetChanged()
{
m_tickMarkValuesDirty = true;
Element* sliderTrackElement = this->sliderTrackElement();
- if (sliderTrackElement->renderer())
- sliderTrackElement->renderer()->setNeedsLayoutAndFullPaintInvalidation();
+ if (sliderTrackElement->layoutObject())
+ sliderTrackElement->layoutObject()->setNeedsLayoutAndFullPaintInvalidation();
}
static bool decimalCompare(const Decimal& a, const Decimal& b)

Powered by Google App Engine
This is Rietveld 408576698