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

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: 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/forms/NumberInputType.cpp ('k') | Source/core/html/forms/SearchInputType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/RangeInputType.cpp
diff --git a/Source/core/html/forms/RangeInputType.cpp b/Source/core/html/forms/RangeInputType.cpp
index ead8bae75de4f70f15e43cfc4f4354639f1fb9f7..aa5a3a53da287a8aca5e6bfdca2d7cdf0f6ca7d5 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)
« no previous file with comments | « Source/core/html/forms/NumberInputType.cpp ('k') | Source/core/html/forms/SearchInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698