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

Unified Diff: tools/dom/src/Dimension.dart

Issue 2827793002: Format all files under tools and utils directory. (Closed)
Patch Set: Format all files under tools and utils directory. Created 3 years, 8 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 | « tools/dom/src/CssRectangle.dart ('k') | tools/dom/src/EventStreamProvider.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/src/Dimension.dart
diff --git a/tools/dom/src/Dimension.dart b/tools/dom/src/Dimension.dart
index 6286ae9fc553441c057bb6be8209155f1e2fc8a6..d9b34d9e5d7fc1eb4c39962535311f6712c3a736 100644
--- a/tools/dom/src/Dimension.dart
+++ b/tools/dom/src/Dimension.dart
@@ -66,8 +66,8 @@ class Dimension {
_unit = cssValue.substring(cssValue.length - 2);
}
if (cssValue.contains('.')) {
- _value = double.parse(cssValue.substring(0,
- cssValue.length - _unit.length));
+ _value =
+ double.parse(cssValue.substring(0, cssValue.length - _unit.length));
} else {
_value = int.parse(cssValue.substring(0, cssValue.length - _unit.length));
}
« no previous file with comments | « tools/dom/src/CssRectangle.dart ('k') | tools/dom/src/EventStreamProvider.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698