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

Unified Diff: sky/sdk/lib/framework/rendering/block.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/block.dart
diff --git a/sky/sdk/lib/framework/rendering/block.dart b/sky/sdk/lib/framework/rendering/block.dart
index 2e925e36119d0722391b95faf976f3119b5aea64..ee4ae085249dca0e5bab459b0dbe455aa0afbd56 100644
--- a/sky/sdk/lib/framework/rendering/block.dart
+++ b/sky/sdk/lib/framework/rendering/block.dart
@@ -4,6 +4,7 @@
import 'box.dart';
import 'dart:math' as math;
+import 'dart:sky' as sky;
import 'object.dart';
class BlockParentData extends BoxParentData with ContainerParentDataMixin<RenderBox> { }
@@ -98,7 +99,7 @@ class RenderBlock extends RenderBox with ContainerRenderObjectMixin<RenderBox, B
defaultHitTestChildren(result, position: position);
}
- void paint(RenderObjectDisplayList canvas) {
+ void paint(sky.Canvas canvas) {
defaultPaint(canvas);
}

Powered by Google App Engine
This is Rietveld 408576698