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

Unified Diff: packages/charted/lib/core/utils/object_factory.dart

Issue 1521693002: Roll Observatory deps (charted -> ^0.3.0) (Closed) Base URL: https://chromium.googlesource.com/external/github.com/dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years 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 | « packages/charted/lib/core/utils/namespace.dart ('k') | packages/charted/lib/core/utils/rect.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/charted/lib/core/utils/object_factory.dart
diff --git a/packages/charted/lib/core/utils/object_factory.dart b/packages/charted/lib/core/utils/object_factory.dart
index 7ddab0763d453758bcf42b5ad0f193780445fb24..465ac186b0b2ed4792bc1f20ed17c3736c391eba 100644
--- a/packages/charted/lib/core/utils/object_factory.dart
+++ b/packages/charted/lib/core/utils/object_factory.dart
@@ -30,8 +30,7 @@ class ObjectFactory<T> {
if (!_components.containsKey(name)) {
throw new ArgumentError('Element $name not found in ComponentFactory');
}
- var creator = _components[name],
- instance = creator();
+ var creator = _components[name], instance = creator();
if (instance == null) {
throw new ArgumentError('Component $name initialization failed.');
}
« no previous file with comments | « packages/charted/lib/core/utils/namespace.dart ('k') | packages/charted/lib/core/utils/rect.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698