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

Unified Diff: third_party/WebKit/Source/core/paint/PaintInvalidator.cpp

Issue 2821323002: Optimize offscreen animation: don't update paint properties/visual rects (Closed)
Patch Set: Add unit test Created 3 years, 8 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 | « third_party/WebKit/Source/core/paint/PaintInvalidationTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
index a093214a08042650d511df00983008f1384d1dde..4e9287aa08526473f925198eb632e90e3fd7d946 100644
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
@@ -506,8 +506,9 @@ void PaintInvalidator::InvalidatePaintIfNeeded(
void PaintInvalidator::ProcessPendingDelayedPaintInvalidations() {
for (auto target : pending_delayed_paint_invalidations_) {
- target->GetMutableForPainting().SetShouldDoFullPaintInvalidation(
- kPaintInvalidationDelayedFull);
+ target->GetMutableForPainting()
+ .SetShouldDoFullPaintInvalidationWithoutGeometryChange(
+ kPaintInvalidationDelayedFull);
}
}
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintInvalidationTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698