Index: Source/core/rendering/RenderLayer.cpp |
diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp |
index 87b71d0ec9da8e8b200032a2aefc957be6c0e1c8..f8515b51aafd4dfba384e8beec9328128f320134 100644 |
--- a/Source/core/rendering/RenderLayer.cpp |
+++ b/Source/core/rendering/RenderLayer.cpp |
@@ -1514,7 +1514,7 @@ void RenderLayer::updateReflectionInfo(const RenderStyle* oldStyle) |
ASSERT(!oldStyle || !renderer()->style()->reflectionDataEquivalent(oldStyle)); |
if (renderer()->hasReflection()) { |
if (!m_reflectionInfo) |
- m_reflectionInfo = adoptPtrWillBeNoop(new RenderLayerReflectionInfo(*renderBox())); |
+ m_reflectionInfo = adoptPtr(new RenderLayerReflectionInfo(*renderBox())); |
m_reflectionInfo->updateAfterStyleChange(oldStyle); |
} else if (m_reflectionInfo) { |
m_reflectionInfo->destroy(); |