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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/margin.html

Issue 2577123002: Add optional debugging output of what paint chunks go into what layers. (Closed)
Patch Set: none Created 4 years 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
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;
+ window.internals.startStoringCompositedLayerDebugInfo(document);
+}
function repaintTest()
{
// Margin change will visually move the content of the div.

Powered by Google App Engine
This is Rietveld 408576698