DescriptionFix leak PaintLayerReflectionInfo
Previously PaintLayerReflectionInfo required destroy() to be called
before destruction, but we missed the call in
PaintLayer::updateReflectionInfo(), causing leak of the reflection
layout object and the layer for the reflection.
Delete PaintLayerReflectionInfo::destroy(). Use destructor instead.
BUG=582717
TEST=PaintLayerTest.ReflectionLeak
Committed: https://crrev.com/8718e5b803192df3cd4cec8907330443104063ee
Cr-Commit-Position: refs/heads/master@{#372985}
Patch Set 1 #Patch Set 2 : Update test to avoid leak of ImageResource #Patch Set 3 : #
Messages
Total messages: 26 (11 generated)
|