Index: blimp/client/app/blimp_startup.cc |
diff --git a/blimp/client/app/blimp_startup.cc b/blimp/client/app/blimp_startup.cc |
index 59f021f6e241c9cf4c83402397af9197477a2ffb..da1ec5d3a74144eb717c640604d7f9464e67cc0c 100644 |
--- a/blimp/client/app/blimp_startup.cc |
+++ b/blimp/client/app/blimp_startup.cc |
@@ -15,6 +15,7 @@ |
#include "blimp/client/app/blimp_discardable_memory_allocator.h" |
#include "blimp/client/core/compositor/decoding_image_generator.h" |
#include "third_party/skia/include/core/SkGraphics.h" |
+#include "ui/base/resource/resource_bundle.h" |
#include "ui/gl/init/gl_factory.h" |
class SkImageGenerator; |
@@ -81,5 +82,14 @@ bool InitializeMainMessageLoop() { |
return true; |
} |
+void InitializeResourceBundle() { |
+ // Load the pak file for the shell. |
+ base::FilePath pak_file; |
+ bool pak_file_valid = base::PathService::Get(base::DIR_MODULE, &pak_file); |
+ CHECK(pak_file_valid); |
+ pak_file = pak_file.Append(FILE_PATH_LITERAL("blimp_shell.pak")); |
+ ui::ResourceBundle::InitSharedInstanceWithPakPath(pak_file); |
+} |
+ |
} // namespace client |
} // namespace blimp |