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

Unified Diff: samples/ui_lib/view/view.dart

Issue 10544076: Changes to run Swarm from the Editor and to suppress warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Clean up a constructor Created 8 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 | « samples/swarm/UIState.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/ui_lib/view/view.dart
diff --git a/samples/ui_lib/view/view.dart b/samples/ui_lib/view/view.dart
index 6387d171af5a759e917833bacf738d8e739a5938..d46d35a2ba5a13946750c9093f20d9e8f5373b09 100644
--- a/samples/ui_lib/view/view.dart
+++ b/samples/ui_lib/view/view.dart
@@ -108,7 +108,7 @@ class View implements Positionable {
* document or not.
*/
bool get isInDocument() {
- return _node !== null && node.document.contains(node);
+ return _node !== null && node.document.body.contains(node);
}
/**
« no previous file with comments | « samples/swarm/UIState.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698