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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/obscured-background-no-repaint.html

Issue 2397333002: Change layerTreeAsText to default to layer lists. (Closed)
Patch Set: none Created 4 years, 2 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
Index: third_party/WebKit/LayoutTests/paint/invalidation/obscured-background-no-repaint.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/obscured-background-no-repaint.html b/third_party/WebKit/LayoutTests/paint/invalidation/obscured-background-no-repaint.html
index 2e99884267c048dd594d2679fd1a6b140deb1709..72577f18c10fc9f6a75a01dac28cc84e92c2b97e 100644
--- a/third_party/WebKit/LayoutTests/paint/invalidation/obscured-background-no-repaint.html
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/obscured-background-no-repaint.html
@@ -56,7 +56,7 @@
function finish() {
var layerTree = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_PAINT_INVALIDATIONS);
- var invalidations = JSON.parse(layerTree).objectPaintInvalidations;
+ var invalidations = JSON.parse(layerTree)["layers"][0].objectPaintInvalidations;
// Passes if there is no invalidations other than imgForAdvanceImageAnimation,
// or only invalidations because of background obscuration change.
// This is because before the delayed image decoder finishes decoding the image,

Powered by Google App Engine
This is Rietveld 408576698