Index: mojo/runner/context.cc |
diff --git a/mojo/runner/context.cc b/mojo/runner/context.cc |
index 7a6a6adf19b303f6139289676ddd933b3be7b087..c232525613b7fb1298c7f58339dcbf3e2154e4d2 100644 |
--- a/mojo/runner/context.cc |
+++ b/mojo/runner/context.cc |
@@ -29,6 +29,7 @@ |
#include "mojo/common/tracing_impl.h" |
#include "mojo/edk/embedder/embedder.h" |
#include "mojo/edk/embedder/simple_platform_support.h" |
+#include "mojo/runner/about_fetcher.h" |
#include "mojo/runner/in_process_native_runner.h" |
#include "mojo/runner/out_of_process_native_runner.h" |
#include "mojo/runner/switches.h" |
@@ -337,6 +338,12 @@ GURL Context::ResolveMojoURL(const GURL& url) { |
bool Context::CreateFetcher( |
const GURL& url, |
const shell::Fetcher::FetchCallback& loader_callback) { |
+ if (url.SchemeIs(AboutFetcher::kAboutScheme)) { |
+ // AboutFetcher manages its own lifespan. |
+ new AboutFetcher(url, loader_callback); |
+ return true; |
+ } |
+ |
return false; |
} |