| Index: sky/viewer/content_handler_impl.cc
|
| diff --git a/sky/viewer/content_handler_impl.cc b/sky/viewer/content_handler_impl.cc
|
| index 3bf26f52d74b8417a74f31c8c536aa3f14ed740d..d10a7824faf5d350b5cf69d78da441e26e3f9f5b 100644
|
| --- a/sky/viewer/content_handler_impl.cc
|
| +++ b/sky/viewer/content_handler_impl.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "base/bind.h"
|
| #include "mojo/public/cpp/application/connect.h"
|
| +#include "mojo/public/cpp/utility/run_loop.h"
|
| #include "mojo/services/network/public/interfaces/network_service.mojom.h"
|
| #include "sky/viewer/document_view.h"
|
|
|
| @@ -52,6 +53,10 @@ class SkyApplication : public mojo::Application {
|
| }
|
| }
|
|
|
| + void RequestQuit() override {
|
| + mojo::RunLoop::current()->Quit();
|
| + }
|
| +
|
| private:
|
| void OnResponseReceived(
|
| mojo::URLLoaderPtr loader,
|
|
|