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

Unified Diff: sky/sdk/lib/framework/widgets/ui_node.dart

Issue 1179713004: Material and RaisedButton. (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 | « sky/sdk/lib/framework/widgets/tool_bar.dart ('k') | sky/sdk/lib/framework/widgets/wrappers.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/widgets/ui_node.dart
diff --git a/sky/sdk/lib/framework/widgets/ui_node.dart b/sky/sdk/lib/framework/widgets/ui_node.dart
index 44db51f5ca8e8aafb08f338a2ec5611705555997..7ef2bf69e58b538e7690ed38c0d03f66a3d01057 100644
--- a/sky/sdk/lib/framework/widgets/ui_node.dart
+++ b/sky/sdk/lib/framework/widgets/ui_node.dart
@@ -755,7 +755,8 @@ class UINodeAppView extends AppView {
static UINodeAppView _appView;
static AppView get appView => _appView;
static void initUINodeAppView({ RenderView renderViewOverride: null }) {
- _appView = new UINodeAppView(renderViewOverride: renderViewOverride);
+ if (_appView == null)
+ _appView = new UINodeAppView(renderViewOverride: renderViewOverride);
}
void dispatchEvent(sky.Event event, HitTestResult result) {
« no previous file with comments | « sky/sdk/lib/framework/widgets/tool_bar.dart ('k') | sky/sdk/lib/framework/widgets/wrappers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698