| Index: sky/shell/shell.cc
|
| diff --git a/sky/shell/shell.cc b/sky/shell/shell.cc
|
| index 757a9e91c2e703b3979dfdbb8f9bae1a91168602..3a54bb2c09fb6c976252357d760af314fb8a2419 100644
|
| --- a/sky/shell/shell.cc
|
| +++ b/sky/shell/shell.cc
|
| @@ -24,6 +24,13 @@ void Shell::Init() {
|
| gpu_thread_->Start();
|
| rasterizer_.reset(new Rasterizer());
|
|
|
| + ui_thread_.reset(new base::Thread("ui_thread"));
|
| + ui_thread_->Start();
|
| + engine_.reset(new Engine());
|
| +
|
| + ui_thread_->message_loop()->PostTask(
|
| + FROM_HERE, base::Bind(&Engine::Init, engine_->GetWeakPtr()));
|
| +
|
| view_.reset(new SkyView(this));
|
| view_->Init();
|
| }
|
|
|