Index: Source/core/rendering/RenderObject.cpp |
diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp |
index 8d4c206705c11311f6a57aec6cd2dd28c5d29cce..a4b7d13e5d2836afeccba621e21ca5d50954815d 100644 |
--- a/Source/core/rendering/RenderObject.cpp |
+++ b/Source/core/rendering/RenderObject.cpp |
@@ -2047,7 +2047,7 @@ void RenderObject::styleDidChange(StyleDifference diff, const RenderStyle* oldSt |
return; |
if (diff == StyleDifferenceLayout || diff == StyleDifferenceSimplifiedLayout) { |
- RenderCounter::rendererStyleChanged(this, oldStyle, m_style.get()); |
+ RenderCounter::rendererStyleChanged(*this, oldStyle, m_style.get()); |
// If the object already needs layout, then setNeedsLayout won't do |
// any work. But if the containing block has changed, then we may need |
@@ -2580,7 +2580,7 @@ void RenderObject::willBeDestroyed() |
// this renderer had no parent at the time remove() was called. |
if (hasCounterNodeMap()) |
- RenderCounter::destroyCounterNodes(this); |
+ RenderCounter::destroyCounterNodes(*this); |
setAncestorLineBoxDirty(false); |