summaryrefslogtreecommitdiffstats
path: root/libs/hwui/RenderNode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/RenderNode.cpp')
-rw-r--r--libs/hwui/RenderNode.cpp2
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(),