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

Unified Diff: samples/swarm/swarm_ui_lib/layout/ViewLayout.dart

Issue 12605003: Converting Element.client*, offset* and Screen.avail* over to Rects (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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/Views.dart ('k') | samples/swarm/swarm_ui_lib/touch/Scroller.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/swarm/swarm_ui_lib/layout/ViewLayout.dart
diff --git a/samples/swarm/swarm_ui_lib/layout/ViewLayout.dart b/samples/swarm/swarm_ui_lib/layout/ViewLayout.dart
index 28211738448a631116d6bd596fd0a0c5bcf500a1..d98385fc1ff94aaa252e8ece6058ac8d042557d4 100644
--- a/samples/swarm/swarm_ui_lib/layout/ViewLayout.dart
+++ b/samples/swarm/swarm_ui_lib/layout/ViewLayout.dart
@@ -108,8 +108,8 @@ class ViewLayout {
CssStyleDeclaration get _style => layoutParams.style;
void cacheExistingBrowserLayout() {
- _offsetWidth = view.node.offsetWidth;
- _offsetHeight = view.node.offsetHeight;
+ _offsetWidth = view.node.offset.width;
+ _offsetHeight = view.node.offset.height;
}
int get currentWidth {
« no previous file with comments | « samples/swarm/Views.dart ('k') | samples/swarm/swarm_ui_lib/touch/Scroller.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698