mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
lowlevel/img.sky flaky crashes
We don't need to pump pending speculations if we don't have any. R=esprehn@chromium.org, eseidel@chromium.org BUG=447763 Review URL: https://codereview.chromium.org/852043003
This commit is contained in:
parent
22bc13f2cf
commit
e89b1dda15
@ -388,6 +388,8 @@ void HTMLDocumentParser::resumeAfterWaitingForImports()
|
||||
m_scriptRunner.executePendingScripts();
|
||||
ASSERT(!isExecutingScript());
|
||||
ASSERT(!isWaitingForScripts());
|
||||
if (m_speculations.isEmpty())
|
||||
return;
|
||||
ASSERT(m_haveBackgroundParser);
|
||||
pumpPendingSpeculations();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user