diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-25 01:46:20 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-25 01:46:20 +0000 |
commit | 09ac4c430545ffd7b8d35bc857b9c27cfaf75cee (patch) | |
tree | 05ce41d678c5f096c4e1eaae564bbe71306bb6c3 /chrome/test/render_view_test.h | |
parent | adc4ed4a6e4dbc0a599a2b2981caeeebe3565b08 (diff) | |
download | chromium_src-09ac4c430545ffd7b8d35bc857b9c27cfaf75cee.zip chromium_src-09ac4c430545ffd7b8d35bc857b9c27cfaf75cee.tar.gz chromium_src-09ac4c430545ffd7b8d35bc857b9c27cfaf75cee.tar.bz2 |
Initialize WebKit for unit_tests process. Before it was getting initialized by one of the tests, but it is needed by more than one of them.
Review URL: http://codereview.chromium.org/2853007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50807 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/render_view_test.h')
-rw-r--r-- | chrome/test/render_view_test.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/chrome/test/render_view_test.h b/chrome/test/render_view_test.h index af6059e..3cb3354 100644 --- a/chrome/test/render_view_test.h +++ b/chrome/test/render_view_test.h @@ -16,7 +16,6 @@ #include "chrome/renderer/mock_render_thread.h" #include "chrome/renderer/render_view.h" #include "chrome/renderer/renderer_main_platform_delegate.h" -#include "chrome/renderer/renderer_webkitclient_impl.h" #include "testing/gtest/include/gtest/gtest.h" #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h" @@ -62,20 +61,10 @@ class RenderViewTest : public testing::Test { virtual void TearDown(); - // A special WebKitClientImpl class for getting rid off the dependency to the - // sandbox, which is not available in RenderViewTest. - class RendererWebKitClientImplNoSandbox : public RendererWebKitClientImpl { - public: - virtual WebKit::WebSandboxSupport* sandboxSupport() { - return NULL; - } - }; - MessageLoop msg_loop_; MockRenderThread render_thread_; scoped_ptr<MockRenderProcess> mock_process_; scoped_refptr<RenderView> view_; - RendererWebKitClientImplNoSandbox webkitclient_; scoped_ptr<MockKeyboard> mock_keyboard_; // Used to setup the process so renderers can run. |