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

Unified Diff: sky/sdk/lib/widgets/tabs.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/lib/widgets/scaffold.dart ('k') | sky/tests/examples/sector-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/widgets/tabs.dart
diff --git a/sky/sdk/lib/widgets/tabs.dart b/sky/sdk/lib/widgets/tabs.dart
index 13cfaa35ed2abd3fd01020e32bc72940e2922946..f66d0ee22253a73bd0ada7af01389a6c1dc92d4e 100644
--- a/sky/sdk/lib/widgets/tabs.dart
+++ b/sky/sdk/lib/widgets/tabs.dart
@@ -131,7 +131,7 @@ class RenderTabBar extends RenderBox with
defaultHitTestChildren(result, position: position);
}
- void _paintIndicator(RenderCanvas canvas, RenderBox selectedTab, Offset offset) {
+ void _paintIndicator(PaintingCanvas canvas, RenderBox selectedTab, Offset offset) {
if (indicatorColor == null)
return;
@@ -144,7 +144,7 @@ class RenderTabBar extends RenderBox with
canvas.drawRect(rect, new Paint()..color = indicatorColor);
}
- void paint(RenderCanvas canvas, Offset offset) {
+ void paint(PaintingCanvas canvas, Offset offset) {
if (backgroundColor != null) {
Rect rect = offset & size;
canvas.drawRect(rect, new Paint()..color = backgroundColor);
« no previous file with comments | « sky/sdk/lib/widgets/scaffold.dart ('k') | sky/tests/examples/sector-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698