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

Unified Diff: sky/sdk/example/rendering/sector_layout.dart

Issue 1217933002: Rename RenderCanvas to PaintingCanvas to avoid confusion with other classes that inherit from Rende… (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
« no previous file with comments | « sky/sdk/example/game/lib/sprite_box.dart ('k') | sky/sdk/example/rendering/touch_demo.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/example/rendering/sector_layout.dart
diff --git a/sky/sdk/example/rendering/sector_layout.dart b/sky/sdk/example/rendering/sector_layout.dart
index 489b32503555ef71c3b0f7a8de4bbde73c6964ac..24f09b3b46f308ca76748beb8a50287a6dcc1fa1 100644
--- a/sky/sdk/example/rendering/sector_layout.dart
+++ b/sky/sdk/example/rendering/sector_layout.dart
@@ -127,7 +127,7 @@ abstract class RenderDecoratedSector extends RenderSector {
}
// offset must point to the center of the circle
- void paint(RenderCanvas canvas, Offset offset) {
+ void paint(PaintingCanvas canvas, Offset offset) {
assert(deltaRadius != null);
assert(deltaTheta != null);
assert(parentData is SectorParentData);
@@ -264,7 +264,7 @@ class RenderSectorRing extends RenderSectorWithChildren {
// offset must point to the center of our circle
// each sector then knows how to paint itself at its location
- void paint(RenderCanvas canvas, Offset offset) {
+ void paint(PaintingCanvas canvas, Offset offset) {
// TODO(ianh): avoid code duplication
super.paint(canvas, offset);
RenderSector child = firstChild;
@@ -369,7 +369,7 @@ class RenderSectorSlice extends RenderSectorWithChildren {
// offset must point to the center of our circle
// each sector then knows how to paint itself at its location
- void paint(RenderCanvas canvas, Offset offset) {
+ void paint(PaintingCanvas canvas, Offset offset) {
// TODO(ianh): avoid code duplication
super.paint(canvas, offset);
RenderSector child = firstChild;
@@ -462,7 +462,7 @@ class RenderBoxToRenderSectorAdapter extends RenderBox {
}
}
- void paint(RenderCanvas canvas, Offset offset) {
+ void paint(PaintingCanvas canvas, Offset offset) {
super.paint(canvas, offset);
if (child != null) {
Rect bounds = offset & size;
« no previous file with comments | « sky/sdk/example/game/lib/sprite_box.dart ('k') | sky/sdk/example/rendering/touch_demo.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698