Index: third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.cpp |
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.cpp |
index 9f52edc41a5884628ef57099d8c1887698fa7c43..5dd80bbd55d96439d18b49d57dcf6d6cd3e4f63f 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.cpp |
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositingLayerAssigner.cpp |
@@ -183,6 +183,9 @@ SquashingDisallowedReasons CompositingLayerAssigner::getReasonsPreventingSquashi |
|| squashingLayer.layoutObject()->style()->shouldCompositeForCurrentAnimations()) |
return SquashingDisallowedReasonSquashingLayerIsAnimating; |
+ if (layer->enclosingPaginationLayer()) |
+ return SquashingDisallowedReasonFragmentedContent; |
+ |
return SquashingDisallowedReasonsNone; |
} |