Index: ui/compositor/test/test_compositor_host_ozone.cc |
diff --git a/ui/compositor/test/test_compositor_host_ozone.cc b/ui/compositor/test/test_compositor_host_ozone.cc |
index 0d3861e68f664ead23ee2764e899f129f2f149d3..4871564cc8892a177798e30b475b35357091ff55 100644 |
--- a/ui/compositor/test/test_compositor_host_ozone.cc |
+++ b/ui/compositor/test/test_compositor_host_ozone.cc |
@@ -26,6 +26,8 @@ |
// Overridden from TestCompositorHost: |
virtual void Show() override; |
virtual ui::Compositor* GetCompositor() override; |
+ |
+ void Draw(); |
gfx::Rect bounds_; |
@@ -62,6 +64,11 @@ |
return compositor_.get(); |
} |
+void TestCompositorHostOzone::Draw() { |
+ if (compositor_.get()) |
+ compositor_->Draw(); |
+} |
+ |
// static |
TestCompositorHost* TestCompositorHost::Create( |
const gfx::Rect& bounds, |