Index: Source/core/layout/LayoutCounter.cpp |
diff --git a/Source/core/layout/LayoutCounter.cpp b/Source/core/layout/LayoutCounter.cpp |
index f7ae11ef09de65ec169a2e8641a55839ed8fa79a..875f3ef8ad9301681e2c738cf7ebc53108478eb1 100644 |
--- a/Source/core/layout/LayoutCounter.cpp |
+++ b/Source/core/layout/LayoutCounter.cpp |
@@ -111,7 +111,7 @@ static bool planCounter(RenderObject& object, const AtomicString& identifier, bo |
// We must have a generating node or else we cannot have a counter. |
if (!generatingNode) |
return false; |
- RenderStyle* style = object.style(); |
+ const RenderStyle* style = object.style(); |
ASSERT(style); |
switch (style->styleType()) { |