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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/repaint_overlay_unittest.py

Issue 1896243002: Fix repaint overlay in layout test results (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/repaint_overlay.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/repaint_overlay_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/repaint_overlay_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/repaint_overlay_unittest.py
index 0c963eaee41321d3388da404cc6fe85de198c47f..4157a50b81a091dea74240eb4cc6cc5dea09f033 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/repaint_overlay_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/repaint_overlay_unittest.py
@@ -15,9 +15,19 @@ LAYER_TREE = """{
"bounds": [800.00, 600.00],
"contentsOpaque": true,
"drawsContent": true,
- "repaintRects": [
- [8, 108, 100, 100],
- [0, 216, 800, 100]
+ "paintInvalidations": [
+ {
+ "object": "object1",
+ "rect": [8, 108, 100, 100],
+ "reason": "full"
+ }, {
+ "object": "object2",
+ "rect": [0, 216, 800, 100],
+ "reason": "full"
+ }, {
+ "object": "object1",
+ "reason": "location change"
+ }
]
}
]
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/repaint_overlay.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698