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

Unified Diff: Source/core/rendering/RenderListMarker.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/core/rendering/RenderListMarker.cpp
diff --git a/Source/core/rendering/RenderListMarker.cpp b/Source/core/rendering/RenderListMarker.cpp
index 3c91c6f2bc13a07bca5c89e4eec5c11f99cc00e6..ba10140d406d11e6a90d08144dff97198bdf92ba 100644
--- a/Source/core/rendering/RenderListMarker.cpp
+++ b/Source/core/rendering/RenderListMarker.cpp
@@ -1469,8 +1469,8 @@ void RenderListMarker::updateMargins()
}
- style()->setMarginStart(Length(marginStart, Fixed));
- style()->setMarginEnd(Length(marginEnd, Fixed));
+ deprecatedMutableStyle()->setMarginStart(Length(marginStart, Fixed));
+ deprecatedMutableStyle()->setMarginEnd(Length(marginEnd, Fixed));
}
LayoutUnit RenderListMarker::lineHeight(bool firstLine, LineDirectionMode direction, LinePositionMode linePositionMode) const

Powered by Google App Engine
This is Rietveld 408576698