| Index: ui/views/examples/content_client/examples_browser_main_parts.cc
|
| diff --git a/ui/views/examples/content_client/examples_browser_main_parts.cc b/ui/views/examples/content_client/examples_browser_main_parts.cc
|
| index 121678f224a0ec387b90f582a4d6608c987fbd33..159b9315c78a40ed6fa15296d18c30e9fbbdf2d3 100644
|
| --- a/ui/views/examples/content_client/examples_browser_main_parts.cc
|
| +++ b/ui/views/examples/content_client/examples_browser_main_parts.cc
|
| @@ -11,6 +11,7 @@
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/threading/thread.h"
|
| #include "base/threading/thread_restrictions.h"
|
| +#include "content/public/browser/context_factory.h"
|
| #include "content/public/common/content_switches.h"
|
| #include "content/shell/browser/shell_browser_context.h"
|
| #include "ui/aura/env.h"
|
| @@ -54,7 +55,8 @@ void ExamplesBrowserMainParts::PreMainMessageLoopRun() {
|
| gfx::Screen::SetScreenInstance(
|
| gfx::SCREEN_TYPE_NATIVE, aura::TestScreen::Create());
|
| // Set up basic pieces of views::corewm.
|
| - wm_test_helper_.reset(new wm::WMTestHelper(gfx::Size(800, 600)));
|
| + wm_test_helper_.reset(new wm::WMTestHelper(gfx::Size(800, 600),
|
| + content::GetContextFactory()));
|
| // Ensure the X window gets mapped.
|
| wm_test_helper_->host()->Show();
|
| // Ensure Aura knows where to open new windows.
|
|
|