| 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 1c3f6741d01974ec2117ab591a94768fc58ba4a2..9b2d2650b58aeb3ef9eb4d46ff509ad54e022318 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_;
|
|
|
| @@ -83,6 +85,11 @@
|
| return compositor_.get();
|
| }
|
|
|
| +void TestCompositorHostX11::Draw() {
|
| + if (compositor_.get())
|
| + compositor_->Draw();
|
| +}
|
| +
|
| // static
|
| TestCompositorHost* TestCompositorHost::Create(
|
| const gfx::Rect& bounds,
|
|
|