summaryrefslogtreecommitdiffstats
path: root/chrome/test/base/chrome_render_view_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/base/chrome_render_view_test.cc')
-rw-r--r--chrome/test/base/chrome_render_view_test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/test/base/chrome_render_view_test.cc b/chrome/test/base/chrome_render_view_test.cc
index 665590a..9838dee 100644
--- a/chrome/test/base/chrome_render_view_test.cc
+++ b/chrome/test/base/chrome_render_view_test.cc
@@ -56,7 +56,9 @@ void ChromeRenderViewTest::SetUp() {
content::SetRendererClientForTesting(&chrome_content_renderer_client_);
extension_dispatcher_ = new extensions::Dispatcher();
chrome_content_renderer_client_.SetExtensionDispatcher(extension_dispatcher_);
+#if defined(ENABLE_SPELLCHECK)
chrome_content_renderer_client_.SetSpellcheck(new SpellCheck());
+#endif
content::RenderViewTest::SetUp();