Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp |
index 895daeef48f0d1fa51a5d3e6030c529f6ee116a5..a98310828cb09afd4479028307d8094d59039827 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp |
@@ -204,9 +204,6 @@ PaintLayer::~PaintLayer() |
clearCompositedLayerMapping(true); |
- if (PaintLayerReflectionInfo* reflectionInfo = this->reflectionInfo()) |
- reflectionInfo->destroy(); |
- |
if (m_scrollableArea) |
m_scrollableArea->dispose(); |
} |
@@ -1426,7 +1423,6 @@ void PaintLayer::updateReflectionInfo(const ComputedStyle* oldStyle) |
ensureRareData().reflectionInfo = adoptPtr(new PaintLayerReflectionInfo(*layoutBox())); |
m_rareData->reflectionInfo->updateAfterStyleChange(oldStyle); |
} else if (m_rareData && m_rareData->reflectionInfo) { |
- m_rareData->reflectionInfo->destroy(); |
m_rareData->reflectionInfo = nullptr; |
} |
} |