Index: content/public/test/render_view_test.cc |
=================================================================== |
--- content/public/test/render_view_test.cc (revision 161126) |
+++ content/public/test/render_view_test.cc (working copy) |
@@ -21,6 +21,7 @@ |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebScriptSource.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLRequest.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
+#include "ui/base/resource/resource_bundle.h" |
#include "webkit/dom_storage/dom_storage_types.h" |
#include "webkit/glue/glue_serialize.h" |
#include "webkit/glue/webkit_glue.h" |
@@ -149,6 +150,8 @@ |
// since we are using a MockRenderThread. |
RenderThreadImpl::RegisterSchemes(); |
+ ResourceBundle::InitSharedInstanceWithLocale("en-US", NULL); |
+ |
mock_process_.reset(new MockRenderProcess); |
// This needs to pass the mock render thread to the view. |