Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1262)

Unified Diff: Source/core/page/PageAnimator.cpp

Issue 994483002: Oilpan: promptly free per-frame document heap vector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/PageAnimator.cpp
diff --git a/Source/core/page/PageAnimator.cpp b/Source/core/page/PageAnimator.cpp
index 752a59083ebcc77be2d3963acbd1ce0721dea99d..33b601b732a9837cf713c3dfc12f228f4a4ef253 100644
--- a/Source/core/page/PageAnimator.cpp
+++ b/Source/core/page/PageAnimator.cpp
@@ -68,6 +68,10 @@ void PageAnimator::serviceScriptedAnimations(double monotonicAnimationStartTime)
for (size_t i = 0; i < documents.size(); ++i)
documents[i]->serviceScriptedAnimations(monotonicAnimationStartTime);
+
+#if ENABLE(OILPAN)
+ documents.clear();
dstockwell 2015/03/10 22:38:31 This might be a reasonable optimiziation, but to a
haraken 2015/03/10 23:26:08 Yeah, that's something we're considering. Option
+#endif
}
void PageAnimator::scheduleVisualUpdate(LocalFrame* frame)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698