| 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 b31f3dbdf56d7bcf88e6b4933676127694c39383..646d3af759cb51a52af0cf605281e262e77abb04 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| @@ -203,6 +203,9 @@
|
|
|
| clearCompositedLayerMapping(true);
|
|
|
| + if (PaintLayerReflectionInfo* reflectionInfo = this->reflectionInfo())
|
| + reflectionInfo->destroy();
|
| +
|
| if (m_scrollableArea)
|
| m_scrollableArea->dispose();
|
| }
|
| @@ -1416,6 +1419,7 @@
|
| 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;
|
| }
|
| }
|
|
|