diff options
author | Nicolas Roard <nicolas@android.com> | 2010-01-25 19:19:18 +0000 |
---|---|---|
committer | Nicolas Roard <nicolas@android.com> | 2010-01-26 18:36:17 +0000 |
commit | 30e39dd1918530408d55dbead3bf1567661b606e (patch) | |
tree | 3e04e9c4edd63f026729ae312c8668c2e0b62ca3 /WebCore/platform/graphics/mac/ImageMac.mm | |
parent | ec745133ebaf0e3ede2d6656a96399f960a95876 (diff) | |
download | external_webkit-30e39dd1918530408d55dbead3bf1567661b606e.zip external_webkit-30e39dd1918530408d55dbead3bf1567661b606e.tar.gz external_webkit-30e39dd1918530408d55dbead3bf1567661b606e.tar.bz2 |
Fix memory leak with layers.
This fix bug http://b/2394813
This is a two-parts CL (need a java modif)
- The main leak is in WebView.cpp -- nativeUpdateLayers could
bail out if the root layer was nil, without deallocating the vector
of updates.
- fix a leak in LayerAndroid::evaluateAnimations()
- adoptRef() for the contentLayer in GraphicsLayerAndroid
- simplify AndroidAnimation: remove the reference to the layer
(the layer already has a reference to AndroidAnimation)
- modify the AndroidAnimation copy() methods to return directly
a PassRefPtr, for consistency.
Diffstat (limited to 'WebCore/platform/graphics/mac/ImageMac.mm')
0 files changed, 0 insertions, 0 deletions