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

Unified Diff: sky/sdk/lib/widgets/widget.dart

Issue 1186813009: Fix the App code to use the new names for AppView. (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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/widgets/widget.dart
diff --git a/sky/sdk/lib/widgets/widget.dart b/sky/sdk/lib/widgets/widget.dart
index 8eb781f473d052a0b8dceea9ecea691f0c6037d8..0773cd5ec13177dc58e4ba02853e0179857abaed 100644
--- a/sky/sdk/lib/widgets/widget.dart
+++ b/sky/sdk/lib/widgets/widget.dart
@@ -820,12 +820,12 @@ abstract class App extends Component {
void didMount() {
super.didMount();
- WidgetAppView.appView.addEventListener(_handleEvent);
+ SkyBinding.instance.addEventListener(_handleEvent);
}
void didUnmount() {
super.didUnmount();
- WidgetAppView.appView.removeEventListener(_handleEvent);
+ SkyBinding.instance.removeEventListener(_handleEvent);
}
// Override this to handle back button behavior in your app
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698