| Index: content/renderer/render_thread_impl_browsertest.cc
|
| ===================================================================
|
| --- content/renderer/render_thread_impl_browsertest.cc (revision 257432)
|
| +++ content/renderer/render_thread_impl_browsertest.cc (working copy)
|
| @@ -3,6 +3,8 @@
|
| // found in the LICENSE file.
|
|
|
| #include "base/command_line.h"
|
| +#include "content/public/browser/content_browser_client.h"
|
| +#include "content/public/common/content_client.h"
|
| #include "content/public/common/content_switches.h"
|
| #include "content/public/renderer/content_renderer_client.h"
|
| #include "content/renderer/render_process_impl.h"
|
| @@ -44,7 +46,11 @@
|
| CommandLine::ForCurrentProcess()->AppendSwitch(
|
| switches::kEnableThreadedCompositing);
|
|
|
| + ContentClient content_client;
|
| + ContentBrowserClient content_browser_client;
|
| ContentRendererClient content_renderer_client;
|
| + SetContentClient(&content_client);
|
| + SetBrowserClientForTesting(&content_browser_client);
|
| SetRendererClientForTesting(&content_renderer_client);
|
| base::MessageLoopForIO message_loop_;
|
|
|
|
|