Index: samples/ui_lib/layout/SizingFunctions.dart |
diff --git a/samples/ui_lib/layout/SizingFunctions.dart b/samples/ui_lib/layout/SizingFunctions.dart |
index 2fd7c25fd47bbf61ff599ca94a5628f55c290424..7123c556ddf67d28724e79c84910a8594cd14339 100644 |
--- a/samples/ui_lib/layout/SizingFunctions.dart |
+++ b/samples/ui_lib/layout/SizingFunctions.dart |
@@ -44,7 +44,7 @@ class FixedSizing extends SizingFunction { |
_contentSized = false { |
if (units != 'px' && units != '%') { |
// TODO(jmesserly): support other unit types |
- throw new UnsupportedOperationException('Units other than px and %'); |
+ throw new UnsupportedError('Units other than px and %'); |
} |
} |