| Index: ui/gfx/compositor/test/test_compositor_host_linux.cc
|
| diff --git a/ui/gfx/compositor/test/test_compositor_host_linux.cc b/ui/gfx/compositor/test/test_compositor_host_linux.cc
|
| index b601810cf5867fab0ba84327b2baa1ec69107f4d..cf184f247a4ce66797842ff21e2d2ca1bcda791b 100644
|
| --- a/ui/gfx/compositor/test/test_compositor_host_linux.cc
|
| +++ b/ui/gfx/compositor/test/test_compositor_host_linux.cc
|
| @@ -10,17 +10,12 @@
|
| #include "base/logging.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/memory/weak_ptr.h"
|
| -#include "base/message_loop.h"
|
| #include "ui/base/x/x11_util.h"
|
| #include "ui/gfx/compositor/compositor.h"
|
| #include "ui/gfx/rect.h"
|
|
|
| #include <X11/Xlib.h>
|
|
|
| -#if defined(USE_AURA)
|
| -#include "base/message_pump_x.h"
|
| -#endif
|
| -
|
| namespace ui {
|
|
|
| class TestCompositorHostLinux : public TestCompositorHost,
|
| @@ -37,9 +32,6 @@ class TestCompositorHostLinux : public TestCompositorHost,
|
| // Overridden from CompositorDelegate:
|
| virtual void ScheduleDraw() OVERRIDE;
|
|
|
| - // Overridden from MessagePumpDispatcher:
|
| - virtual bool Dispatch(const base::NativeEvent& event) OVERRIDE;
|
| -
|
| void Draw();
|
|
|
| gfx::Rect bounds_;
|
| @@ -99,10 +91,6 @@ void TestCompositorHostLinux::ScheduleDraw() {
|
| }
|
| }
|
|
|
| -bool TestCompositorHostLinux::Dispatch(const base::NativeEvent& event) {
|
| - return true;
|
| -}
|
| -
|
| void TestCompositorHostLinux::Draw() {
|
| if (compositor_.get())
|
| compositor_->Draw(false);
|
|
|