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

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

Issue 1190123003: Decouple Canvas from DisplayList and map Picture and PictureRecorder more directly to their Skia co… (Closed) Base URL: git@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/framework/rendering/stack.dart
diff --git a/sky/sdk/lib/framework/rendering/stack.dart b/sky/sdk/lib/framework/rendering/stack.dart
index ed8377b00e580465a4e43e4f0b472cd29f2ab2ed..455875888c23dc9f9bcda8704d9f1fa80b273dea 100644
--- a/sky/sdk/lib/framework/rendering/stack.dart
+++ b/sky/sdk/lib/framework/rendering/stack.dart
@@ -3,6 +3,7 @@
// found in the LICENSE file.
import 'dart:math' as math;
+import 'dart:sky' as sky;
Hixie 2015/06/18 00:07:10 If we don't subclass Canvas to have a paintChild()
iansf 2015/06/20 00:02:38 Acknowledged.
import 'box.dart';
import 'object.dart';
@@ -193,7 +194,7 @@ class RenderStack extends RenderBox with ContainerRenderObjectMixin<RenderBox, S
defaultHitTestChildren(result, position: position);
}
- void paint(RenderObjectDisplayList canvas) {
+ void paint(sky.Canvas canvas) {
defaultPaint(canvas);
}
}

Powered by Google App Engine
This is Rietveld 408576698