| Index: trunk/src/ui/compositor/test/test_compositor_host_x11.cc
|
| ===================================================================
|
| --- trunk/src/ui/compositor/test/test_compositor_host_x11.cc (revision 287765)
|
| +++ trunk/src/ui/compositor/test/test_compositor_host_x11.cc (working copy)
|
| @@ -30,6 +30,8 @@
|
| virtual void Show() OVERRIDE;
|
| virtual ui::Compositor* GetCompositor() OVERRIDE;
|
|
|
| + void Draw();
|
| +
|
| gfx::Rect bounds_;
|
|
|
| ui::ContextFactory* context_factory_;
|
| @@ -83,6 +85,11 @@
|
| return compositor_.get();
|
| }
|
|
|
| +void TestCompositorHostX11::Draw() {
|
| + if (compositor_.get())
|
| + compositor_->Draw();
|
| +}
|
| +
|
| // static
|
| TestCompositorHost* TestCompositorHost::Create(
|
| const gfx::Rect& bounds,
|
|
|