Index: third_party/WebKit/LayoutTests/paint/invalidation/margin.html |
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/margin.html b/third_party/WebKit/LayoutTests/paint/invalidation/margin.html |
index d4de491c6a55f86bdfbf9e9ee61d89e9bdcf3fce..59a2bfdf48a42fd91c5419541b33e68303c36b13 100644 |
--- a/third_party/WebKit/LayoutTests/paint/invalidation/margin.html |
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/margin.html |
@@ -1,6 +1,10 @@ |
<!DOCTYPE HTML> |
<script src="resources/text-based-repaint.js"></script> |
<script> |
+if (window.internals) { |
+ window.layerTreeAsTextAdditionalFlags = window.internals.LAYER_TREE_INCLUDES_DEBUG_INFO; |
wkorman
2016/12/15 21:36:05
What is decision process re: when to include this
chrishtr
2016/12/15 22:35:11
I'm thinking it should be used for all tests which
|
+ window.internals.startStoringCompositedLayerDebugInfo(document); |
wkorman
2016/12/15 21:36:05
Do we need to add something to reset-state between
chrishtr
2016/12/15 22:35:11
It's set on a FrameView, which is an object that o
|
+} |
function repaintTest() |
{ |
// Margin change will visually move the content of the div. |