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

Unified Diff: sky/examples/widgets/spinning_mixed.dart

Issue 1182933003: Verify that callers correctly set parentUsesSize if they use the child's size (and fix a few cases … (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/engine/core/painting/Size.dart ('k') | sky/sdk/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/widgets/spinning_mixed.dart
diff --git a/sky/examples/widgets/spinning_mixed.dart b/sky/examples/widgets/spinning_mixed.dart
index 324d0429726d631f8f1f2e194ea0da25bf87f6f8..e75b36c9156822c85b00771fd6004369dcf29ab2 100644
--- a/sky/examples/widgets/spinning_mixed.dart
+++ b/sky/examples/widgets/spinning_mixed.dart
@@ -71,12 +71,8 @@ void rotate(double timeStamp) {
transformBox.translate(transformBox.size.width / 2.0, transformBox.size.height / 2.0);
transformBox.rotateZ(delta);
transformBox.translate(-transformBox.size.width / 2.0, -transformBox.size.height / 2.0);
-
- // tester.checkFrame();
}
-final bool debugDisplayList = false; // set this to true to use the test rendering logic
-
void main() {
// Because we're going to use UINodes, we want to initialise its
// AppView, not use the default one. We don't really need to do
@@ -84,7 +80,7 @@ void main() {
// it's good practice in case we happen to not have a
// RenderObjectToUINodeAdapter in our tree at startup, or in case we
// want a renderViewOverride.
- UINodeAppView.initUINodeAppView(renderViewOverride: debugDisplayList ? tester : null);
+ UINodeAppView.initUINodeAppView();
RenderFlex flexRoot = new RenderFlex(direction: FlexDirection.vertical);
« no previous file with comments | « sky/engine/core/painting/Size.dart ('k') | sky/sdk/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698