Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2276)

Unified Diff: content/public/test/render_view_test.cc

Issue 11066098: Fix a test which uses the RenderViewTest harness running in unit_test binaries. This gives an asser… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix deps Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/test/DEPS ('k') | content/public/test/render_widget_browsertest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « content/public/test/DEPS ('k') | content/public/test/render_widget_browsertest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698