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

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

Issue 2865403002: Don't allow subsequence caching for fragmented PaintLayers. (Closed)
Patch Set: Merge branch 'master' into multicolfix Created 3 years, 7 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 | third_party/WebKit/Source/core/paint/PaintLayerTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
index ee53d12b804c6e6235b398e6f1e11b05df77c40d..fd7f93f30278fd19d38fb821af9dc56f14507c48 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -2769,6 +2769,9 @@ bool PaintLayer::PaintsWithTransform(
}
bool PaintLayer::SupportsSubsequenceCaching() const {
+ if (EnclosingPaginationLayer())
+ return false;
+
// SVG paints atomically.
if (GetLayoutObject().IsSVGRoot())
return true;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintLayerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698