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

Unified Diff: sky/sdk/lib/rendering/stack.dart

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/sdk/lib/rendering/stack.dart
diff --git a/sky/sdk/lib/rendering/stack.dart b/sky/sdk/lib/rendering/stack.dart
index 747ffdf8f75fd1189399aa6ec48e6561b2ad1c28..d96311226e481168440992fbcfd62a98c41d71f7 100644
--- a/sky/sdk/lib/rendering/stack.dart
+++ b/sky/sdk/lib/rendering/stack.dart
@@ -195,7 +195,7 @@ class RenderStack extends RenderBox with ContainerRenderObjectMixin<RenderBox, S
defaultHitTestChildren(result, position: position);
}
- void paint(RenderCanvas canvas) {
- defaultPaint(canvas);
+ void paint(RenderCanvas canvas, Offset offset) {
+ defaultPaint(canvas, offset);
}
}

Powered by Google App Engine
This is Rietveld 408576698