| Index: ash/host/ash_window_tree_host_x11_unittest.cc
|
| diff --git a/ash/host/ash_window_tree_host_x11_unittest.cc b/ash/host/ash_window_tree_host_x11_unittest.cc
|
| index 12aa7bb51807628ebf134160bbc1048358dec47f..275cb99b4ee475b1b91ff2785036540cfbe8cb4e 100644
|
| --- a/ash/host/ash_window_tree_host_x11_unittest.cc
|
| +++ b/ash/host/ash_window_tree_host_x11_unittest.cc
|
| @@ -68,7 +68,7 @@ TEST_F(AshWindowTreeHostX11Test, DispatchTouchEventToOneRootWindow) {
|
| base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease, base::Time());
|
|
|
| scoped_ptr<aura::WindowTreeHostX11> window_tree_host(
|
| - new AshWindowTreeHostX11(gfx::Rect(0, 0, 2560, 1700)));
|
| + new AshWindowTreeHostX11(gfx::Rect(0, 0, 2560, 1700), context_factory()));
|
| window_tree_host->InitHost();
|
| scoped_ptr<RootWindowEventHandler> handler(
|
| new RootWindowEventHandler(window_tree_host.get()));
|
| @@ -134,14 +134,15 @@ TEST_F(AshWindowTreeHostX11Test, DispatchTouchEventToTwoRootWindow) {
|
| base::SysInfo::SetChromeOSVersionInfoForTest(kLsbRelease, base::Time());
|
|
|
| scoped_ptr<aura::WindowTreeHostX11> window_tree_host1(
|
| - new AshWindowTreeHostX11(gfx::Rect(0, 0, 2560, 1700)));
|
| + new AshWindowTreeHostX11(gfx::Rect(0, 0, 2560, 1700), context_factory()));
|
| window_tree_host1->InitHost();
|
| scoped_ptr<RootWindowEventHandler> handler1(
|
| new RootWindowEventHandler(window_tree_host1.get()));
|
|
|
| int host2_y_offset = 1700;
|
| scoped_ptr<aura::WindowTreeHostX11> window_tree_host2(
|
| - new AshWindowTreeHostX11(gfx::Rect(0, host2_y_offset, 1920, 1080)));
|
| + new AshWindowTreeHostX11(gfx::Rect(0, host2_y_offset, 1920, 1080),
|
| + context_factory()));
|
| window_tree_host2->InitHost();
|
| scoped_ptr<RootWindowEventHandler> handler2(
|
| new RootWindowEventHandler(window_tree_host2.get()));
|
|
|