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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/media-audio-no-spurious-repaints.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/media-audio-no-spurious-repaints.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/media-audio-no-spurious-repaints.html b/third_party/WebKit/LayoutTests/paint/invalidation/media-audio-no-spurious-repaints.html
index 71aed957dc41e46e0b9bf617a9560df460fae045..a6405ecc5bbc69efb65ba88eb047e384f34acb31 100644
--- a/third_party/WebKit/LayoutTests/paint/invalidation/media-audio-no-spurious-repaints.html
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/media-audio-no-spurious-repaints.html
@@ -14,8 +14,8 @@ async_test(function(t) {
video.addEventListener('ended', t.step_func(function() {
var layerTree = internals.layerTreeAsText(
- document, internals.LAYER_TREE_INCLUDES_PAINT_INVALIDATIONS);
- var paintInvalidations = JSON.parse(layerTree).children[0].paintInvalidations;
+ document, internals.LAYER_TREE_INCLUDES_PAINT_INVALIDATIONS)
+ var paintInvalidations = JSON.parse(layerTree)["layers"][0].paintInvalidations;
internals.stopTrackingRepaints(document);
// Manually verify the number of repaints instead of using a repaint

Powered by Google App Engine
This is Rietveld 408576698