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

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

Issue 1025213002: Begin tracking why layout is invalidated (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
Index: Source/core/html/forms/RangeInputType.cpp
diff --git a/Source/core/html/forms/RangeInputType.cpp b/Source/core/html/forms/RangeInputType.cpp
index aa5a3a53da287a8aca5e6bfdca2d7cdf0f6ca7d5..ceeb2fe8282fae1479ef2dfef230c38b741233f7 100644
--- a/Source/core/html/forms/RangeInputType.cpp
+++ b/Source/core/html/forms/RangeInputType.cpp
@@ -327,7 +327,7 @@ void RangeInputType::listAttributeTargetChanged()
m_tickMarkValuesDirty = true;
Element* sliderTrackElement = this->sliderTrackElement();
if (sliderTrackElement->layoutObject())
- sliderTrackElement->layoutObject()->setNeedsLayoutAndFullPaintInvalidation();
+ sliderTrackElement->layoutObject()->setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::AttributeChanged);
}
static bool decimalCompare(const Decimal& a, const Decimal& b)

Powered by Google App Engine
This is Rietveld 408576698