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

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

Issue 1194583002: Cleaned up a few analyzer warnings (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
« no previous file with comments | « no previous file | sky/sdk/lib/widgets/basic.dart » ('j') | sky/sdk/lib/widgets/widget.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/rendering/paragraph.dart
diff --git a/sky/sdk/lib/rendering/paragraph.dart b/sky/sdk/lib/rendering/paragraph.dart
index 22bd617f69c54783d62f7df80f191b18f766c274..f7abf7dd40247953a447eb58dc42797ef20ff218 100644
--- a/sky/sdk/lib/rendering/paragraph.dart
+++ b/sky/sdk/lib/rendering/paragraph.dart
@@ -103,7 +103,7 @@ class TextStyle {
}
}
-class InlineBase {
+abstract class InlineBase {
sky.Node _toDOM(sky.Document owner);
String toString([String prefix = '']);
}
@@ -182,7 +182,7 @@ class RenderParagraph extends RenderBox {
markNeedsLayout();
}
- sky.Element _layout(BoxConstraints constraints) {
+ void _layout(BoxConstraints constraints) {
_layoutRoot.maxWidth = constraints.maxWidth;
_layoutRoot.minWidth = constraints.minWidth;
_layoutRoot.minHeight = constraints.minHeight;
« no previous file with comments | « no previous file | sky/sdk/lib/widgets/basic.dart » ('j') | sky/sdk/lib/widgets/widget.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698