From 7687065b76a2965681be8100339176fcb7459776 Mon Sep 17 00:00:00 2001 From: Elliott Sprehn Date: Wed, 7 Jan 2015 10:54:41 -0800 Subject: [PATCH] Remove the remaining parts of ignorePendingStylesheets and placeholder styles. This patch is largely just a rename since updateLayoutIgnorePendingStylesheets() didn't really do anything except call updateLayout() now as nothing was reading the ignorePendingStyleSheets state, and no callers used the synchronous post layout task option which was meant for plugins (which Sky doesn't have). Placeholder styles were related and just add confusion since things pretend to be display: none while 's are loading. We should expose a real API for avoiding FOUC instead of pumping frames with display: none elements when imports are loading. I had to skip the layout/continuations.sky test since it always crashes now with an ASSERT failure about a bad cast (filed as bug 446739). The bug already existed, this patch just makes that one test hit it. BUG=446739 R=ojan@chromium.org Review URL: https://codereview.chromium.org/834693007 --- engine/src/flutter/tests/TestExpectations | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/src/flutter/tests/TestExpectations b/engine/src/flutter/tests/TestExpectations index 656b58abb8..b7727fce3d 100644 --- a/engine/src/flutter/tests/TestExpectations +++ b/engine/src/flutter/tests/TestExpectations @@ -22,3 +22,5 @@ https://github.com/domokit/mojo/issues/24 mutation-observer/observe-attributes.s # This test only fails on the bots: crbug.com/434822 inspector/page-agent-get-resource-tree.sky [ Pass Failure ] + +crbug.com/446739 layout/continuations.sky [ Crash ]