Index: third_party/WebKit/LayoutTests/http/tests/inspector/layers-test.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/layers-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/layers-test.js |
index 8792490dce3a25ab8fab2c7b94d02eb8c9b8c132..d00ecf4cd1f1286d44ddb055fdcb4adf6f2ff7fe 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/layers-test.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/layers-test.js |
@@ -32,7 +32,8 @@ function initialize_LayerTreeTests() |
return; |
} |
} |
- InspectorTest.addResult(prefix + InspectorTest.labelForLayer(root)); |
+ if (root.drawsContent()) |
vmpstr
2016/05/31 22:16:16
Why this change?
sunxd
2016/05/31 22:41:52
See the comment in layer-tree.html, the background
|
+ InspectorTest.addResult(prefix + InspectorTest.labelForLayer(root)); |
root.children().forEach(InspectorTest.dumpLayerTree.bind(InspectorTest, prefix + " ")); |
} |