Skip to content

Commit bfdfe2d

Browse files
committed
Unblock the Mojo main thread during rasterizer setup
Fixes flutter/flutter#4957
1 parent b13b79b commit bfdfe2d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎DEPS‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ deps = {
5050
# and not have to specific specific hashes.
5151

5252
'src/lib/ftl':
53-
Var('fuchsia_git') + '/ftl' + '@' + '563353eb5782ac396d01eae025a45172a18660d4',
53+
Var('fuchsia_git') + '/ftl' + '@' + 'e9ebb15d179fed9467e5fb3ce6fb807cc4ad9a8b',
5454

5555
'src/lib/tonic':
5656
Var('fuchsia_git') + '/tonic' + '@' + '18fa4dec7495e0bafc9e3e6c1783e726c032d987',

‎sky/shell/gpu/mojo/rasterizer_mojo.cc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ void RasterizerMojo::Init(mojo::ApplicationConnectorPtr connector,
6060
void RasterizerMojo::Setup(PlatformView* platform_view,
6161
base::Closure rasterizer_continuation,
6262
base::WaitableEvent* setup_completion_event) {
63-
rasterizer_continuation.Run();
6463
setup_completion_event->Signal();
64+
rasterizer_continuation.Run();
6565
}
6666

6767
void RasterizerMojo::Teardown(base::WaitableEvent* teardown_completion_event) {

0 commit comments

Comments
 (0)