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

Unified Diff: sky/sdk/lib/rendering/sky_binding.dart

Issue 1214833004: Split Size into Size and Offset. (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/rendering/object.dart ('k') | sky/sdk/lib/rendering/stack.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/rendering/sky_binding.dart
diff --git a/sky/sdk/lib/rendering/sky_binding.dart b/sky/sdk/lib/rendering/sky_binding.dart
index 29408f73120257c8cd0421d027086f50c51a7fe9..ca441273752a9887745bdf6427baba1c60aa9b6a 100644
--- a/sky/sdk/lib/rendering/sky_binding.dart
+++ b/sky/sdk/lib/rendering/sky_binding.dart
@@ -48,7 +48,7 @@ class SkyBinding {
RenderView get renderView => _renderView;
ViewConstraints _createConstraints() {
- return new ViewConstraints(width: sky.view.width, height: sky.view.height);
+ return new ViewConstraints(size: new Size(sky.view.width, sky.view.height));
}
void _handleMetricsChanged() {
_renderView.rootConstraints = _createConstraints();
« no previous file with comments | « sky/sdk/lib/rendering/object.dart ('k') | sky/sdk/lib/rendering/stack.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698