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

Unified Diff: dart/site/try/src/interaction_manager.dart

Issue 285933002: Only save what's needed. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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: dart/site/try/src/interaction_manager.dart
diff --git a/dart/site/try/src/interaction_manager.dart b/dart/site/try/src/interaction_manager.dart
index 3b59c1fd791ec9c9fd76ab9170cf06e5ba4e4602..35a5071f551e8dfdb73973acca166f7914396a05 100644
--- a/dart/site/try/src/interaction_manager.dart
+++ b/dart/site/try/src/interaction_manager.dart
@@ -94,7 +94,7 @@ abstract class InteractionManager {
//
// Simplicity in UI is in the eye of the beholder, not the implementor. Great
// 'natural UI' is usually achieved with substantial implementation
- // complexity that doesn't modularise well and has nasty complicated state
+ // complexity that doesn't modularize well and has nasty complicated state
ahe 2014/05/14 11:01:24 Sometimes I encounter a bug in Chrome and it turns
// dependencies.
//
// In rare cases, some UI components can be independent of this state
@@ -489,6 +489,7 @@ class InitialState extends InteractionState {
..stop()
..reset();
context.unitsToSave.addAll(context.modifiedUnits);
+ context.modifiedUnits.clear();
saveUnits();
}
if (!settings.compilationPaused &&
« 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