Index: mojo/shell/context.cc |
diff --git a/mojo/shell/context.cc b/mojo/shell/context.cc |
index 215ed7b2259d98389f2b6f79f3b620f131f3d602..d7f8e30d5428a96063bd775e4b8572b6589b9fdd 100644 |
--- a/mojo/shell/context.cc |
+++ b/mojo/shell/context.cc |
@@ -69,6 +69,7 @@ static base::LazyInstance<Setup>::Leaky setup = LAZY_INSTANCE_INITIALIZER; |
void InitContentHandlers(DynamicApplicationLoader* loader, |
base::CommandLine* command_line) { |
// Default content handlers. |
+ loader->RegisterContentHandler("application/pdf", GURL("mojo://pdf_viewer/")); |
loader->RegisterContentHandler("image/png", GURL("mojo://png_viewer/")); |
loader->RegisterContentHandler("text/html", GURL("mojo://html_viewer/")); |