diff options
Diffstat (limited to 'libs/hwui/RenderNode.cpp')
-rw-r--r-- | libs/hwui/RenderNode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/RenderNode.cpp b/libs/hwui/RenderNode.cpp index dcd6bda..7a9c181 100644 --- a/libs/hwui/RenderNode.cpp +++ b/libs/hwui/RenderNode.cpp @@ -119,7 +119,7 @@ void RenderNode::pushStagingChanges(TreeInfo& info) { mProperties = mStagingProperties; } if (mNeedsAnimatorsSync) { - mAnimators.reserve(mStagingAnimators.size()); + mAnimators.resize(mStagingAnimators.size()); std::vector< sp<RenderPropertyAnimator> >::iterator it; // hint: this means copy_if_not() it = std::remove_copy_if(mStagingAnimators.begin(), mStagingAnimators.end(), |