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

Unified Diff: Source/modules/accessibility/AXSlider.cpp

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Blind fix for Mac. 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/modules/accessibility/AXSlider.cpp
diff --git a/Source/modules/accessibility/AXSlider.cpp b/Source/modules/accessibility/AXSlider.cpp
index 32d37ec9406c19e61017530cc9daf9d3a24d45dc..28f7cb702f969c727f5c8a568386705b5f88301f 100644
--- a/Source/modules/accessibility/AXSlider.cpp
+++ b/Source/modules/accessibility/AXSlider.cpp
@@ -55,7 +55,7 @@ AccessibilityOrientation AXSlider::orientation() const
if (!m_renderer)
return AccessibilityOrientationHorizontal;
- RenderStyle* style = m_renderer->style();
+ const RenderStyle* style = m_renderer->style();
if (!style)
return AccessibilityOrientationHorizontal;

Powered by Google App Engine
This is Rietveld 408576698