| Index: mojo/application/content_handler_factory.cc
|
| diff --git a/mojo/application/content_handler_factory.cc b/mojo/application/content_handler_factory.cc
|
| index 3ed423ca96e8f2669130ad2c912f0b361680d461..4826ec48e8ac72771a4cff8b5e21363cd38bfa60 100644
|
| --- a/mojo/application/content_handler_factory.cc
|
| +++ b/mojo/application/content_handler_factory.cc
|
| @@ -115,7 +115,8 @@ void ContentHandlerFactory::ManagedDelegate::RunApplication(
|
| URLResponsePtr response) {
|
| base::MessageLoop loop(common::MessagePumpMojo::Create());
|
| auto application = this->CreateApplication(shell.Pass(), response.Pass());
|
| - loop.Run();
|
| + if (application)
|
| + loop.Run();
|
| }
|
|
|
| void ContentHandlerFactory::Create(ApplicationConnection* connection,
|
|
|