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 2dad2fcc5057c1ac5770fe0299d1f236b260fcc9..56ff793de548fa6b2b116622d37225bd761657a9 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: |
void Show() override; |
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, |