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

Unified Diff: sky/tests/widgets/buttons-expected.txt

Issue 1209413004: Instead of applying a transform for every RenderObject, pass down an Offset for where to paint. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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: sky/tests/widgets/buttons-expected.txt
diff --git a/sky/tests/widgets/buttons-expected.txt b/sky/tests/widgets/buttons-expected.txt
index 31c484e0a69adadc9f4afcc0f25cb9b36fb9aafc..eda5356d40fb22c33a4cbc81c74bbf7fbc7a1971 100644
--- a/sky/tests/widgets/buttons-expected.txt
+++ b/sky/tests/widgets/buttons-expected.txt
@@ -10,13 +10,15 @@ PAINT FOR FRAME #2 ----------------------------------------------
2 | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | paintChild RenderPadding at Point(348.0, 274.0)
2 | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | paintChild RenderConstrainedBox at Point(8.0, 8.0)
+2 | | | paintChild RenderConstrainedBox at Point(356.0, 282.0)
2 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
2 | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0xffe0e0e0), drawLooper:true))
-2 | | | | paintChild RenderPositionedBox at Point(8.0, 0.0)
+2 | | | | paintChild RenderPositionedBox at Point(364.0, 282.0)
2 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-2 | | | | | paintChild RenderParagraph at Point(6.0, 10.0)
+2 | | | | | paintChild RenderParagraph at Point(370.0, 292.0)
2 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
+2 | | | | | | translate(370.0, 292.0)
+2 | | | | | | translate(-370.0, -292.0)
------------------------------------------------------------------------
CONSOLE:
PAINT FOR FRAME #3 ----------------------------------------------
@@ -25,13 +27,15 @@ PAINT FOR FRAME #3 ----------------------------------------------
3 | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | paintChild RenderPadding at Point(348.0, 274.0)
3 | | | TestRenderCanvas() constructor: 800.0 x 600.0
-3 | | | paintChild RenderConstrainedBox at Point(8.0, 8.0)
+3 | | | paintChild RenderConstrainedBox at Point(356.0, 282.0)
3 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
3 | | | | drawRRect(Instance of 'RRect', Paint(color:Color(0x00000000)))
-3 | | | | paintChild RenderPositionedBox at Point(8.0, 0.0)
+3 | | | | paintChild RenderPositionedBox at Point(364.0, 282.0)
3 | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
-3 | | | | | paintChild RenderParagraph at Point(6.0, 10.0)
+3 | | | | | paintChild RenderParagraph at Point(370.0, 292.0)
3 | | | | | | TestRenderCanvas() constructor: 800.0 x 600.0
+3 | | | | | | translate(370.0, 292.0)
+3 | | | | | | translate(-370.0, -292.0)
------------------------------------------------------------------------
CONSOLE:
PAINT FOR FRAME #4 ----------------------------------------------
@@ -40,11 +44,13 @@ PAINT FOR FRAME #4 ----------------------------------------------
4 | | TestRenderCanvas() constructor: 800.0 x 600.0
4 | | paintChild RenderDecoratedBox at Point(372.0, 272.0)
4 | | | TestRenderCanvas() constructor: 800.0 x 600.0
-4 | | | drawCircle(Point(28.0, 28.0), 28.0, Paint(color:Color(0xffff4081), drawLooper:true))
-4 | | | saveLayer(Rect.fromLTRB(0.0, 0.0, 56.0, 56.0), Paint(color:Color(0xff000000)))
+4 | | | drawCircle(Point(586.0, 436.0), 28.0, Paint(color:Color(0xffff4081), drawLooper:true))
+4 | | | saveLayer(Rect.fromLTRB(372.0, 272.0, 428.0, 328.0), Paint(color:Color(0xff000000)))
4 | | | clipPath(Instance of 'Path')
-4 | | | paintChild RenderParagraph at Point(22.0, 20.0)
+4 | | | paintChild RenderParagraph at Point(394.0, 292.0)
4 | | | | TestRenderCanvas() constructor: 800.0 x 600.0
+4 | | | | translate(394.0, 292.0)
+4 | | | | translate(-394.0, -292.0)
4 | | | restore
------------------------------------------------------------------------
PAINTED 4 FRAMES

Powered by Google App Engine
This is Rietveld 408576698