| Index: ui/compositor/test/test_compositor_host_x11.cc
|
| diff --git a/ui/compositor/test/test_compositor_host_x11.cc b/ui/compositor/test/test_compositor_host_x11.cc
|
| index cb620459af73d94a71a5be4ca856133b74c543cb..4b940cbd2d7f5de9bebb8b09f71ffb072af052c7 100644
|
| --- a/ui/compositor/test/test_compositor_host_x11.cc
|
| +++ b/ui/compositor/test/test_compositor_host_x11.cc
|
| @@ -29,6 +29,8 @@
|
| // Overridden from TestCompositorHost:
|
| virtual void Show() OVERRIDE;
|
| virtual ui::Compositor* GetCompositor() OVERRIDE;
|
| +
|
| + void Draw();
|
|
|
| gfx::Rect bounds_;
|
|
|
| @@ -81,6 +83,11 @@
|
| return compositor_.get();
|
| }
|
|
|
| +void TestCompositorHostX11::Draw() {
|
| + if (compositor_.get())
|
| + compositor_->Draw();
|
| +}
|
| +
|
| // static
|
| TestCompositorHost* TestCompositorHost::Create(
|
| const gfx::Rect& bounds,
|
|
|