Index: Source/core/rendering/RenderLayerReflectionInfo.cpp |
diff --git a/Source/core/rendering/RenderLayerReflectionInfo.cpp b/Source/core/rendering/RenderLayerReflectionInfo.cpp |
index f154ecdb4413c12e8acab3720cc285972cd547cf..483766273f299d5eca85aee7a81a66b3bdc5f4ec 100644 |
--- a/Source/core/rendering/RenderLayerReflectionInfo.cpp |
+++ b/Source/core/rendering/RenderLayerReflectionInfo.cpp |
@@ -57,7 +57,7 @@ |
namespace blink { |
RenderLayerReflectionInfo::RenderLayerReflectionInfo(RenderBox& renderer) |
- : m_box(renderer) |
+ : m_box(&renderer) |
, m_isPaintingInsideReflection(false) |
{ |
UseCounter::count(box().document(), UseCounter::Reflection); |
@@ -76,12 +76,6 @@ void RenderLayerReflectionInfo::destroy() |
m_reflection = nullptr; |
} |
-void RenderLayerReflectionInfo::trace(Visitor* visitor) |
-{ |
- visitor->trace(m_box); |
- visitor->trace(m_reflection); |
-} |
- |
RenderLayer* RenderLayerReflectionInfo::reflectionLayer() const |
{ |
return m_reflection->layer(); |