Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Commit

Permalink
Fix crash
Browse files Browse the repository at this point in the history
bug:6537803
Change-Id: Ie0bb6e64644fd82c0ed6cf92c592c434f67fdc0d
  • Loading branch information
camaelon authored and The Android Automerger committed May 24, 2012
1 parent a1d677c commit d6e969c
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -330,6 +330,8 @@ void LayerAndroid::removeAnimationsForKeyframes(const String& name)
// FIXME: use a real mask?
void LayerAndroid::setMaskLayer(LayerAndroid* layer)
{
SkSafeRef(layer);
SkSafeUnref(m_maskLayer);
m_maskLayer = layer;
if (layer)
m_haveClip = true;
Expand Down

0 comments on commit d6e969c

Please sign in to comment.