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

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

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix a crashers (everything is building!) Created 5 years, 11 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 0ca22144aa42158a4826f486b17af9e2aa0f756a..4071f14248d18c0c02e7de9a2003d3fdee21bee2 100644
--- a/Source/core/html/forms/RangeInputType.cpp
+++ b/Source/core/html/forms/RangeInputType.cpp
@@ -244,7 +244,7 @@ void RangeInputType::createShadowSubtree()
element().userAgentShadowRoot()->appendChild(container.release());
}
-RenderObject* RangeInputType::createRenderer(RenderStyle*) const
+RenderObject* RangeInputType::createRenderer(const RenderStyle*) const
{
return new LayoutSlider(&element());
}

Powered by Google App Engine
This is Rietveld 408576698