Index: ash/wm/ash_native_cursor_manager_interactive_uitest.cc |
=================================================================== |
--- ash/wm/ash_native_cursor_manager_interactive_uitest.cc (revision 257128) |
+++ ash/wm/ash_native_cursor_manager_interactive_uitest.cc (working copy) |
@@ -12,6 +12,7 @@ |
#include "ui/aura/window.h" |
#include "ui/aura/window_event_dispatcher.h" |
#include "ui/base/test/ui_controls.h" |
+#include "ui/gl/gl_surface.h" |
#if defined(USE_X11) |
#include <X11/Xlib.h> |
@@ -22,8 +23,18 @@ |
namespace ash { |
using views::corewm::CursorManager; |
-typedef test::AshTestBase AshNativeCursorManagerTest; |
+class AshNativeCursorManagerTest : public test::AshTestBase { |
+ public: |
+ AshNativeCursorManagerTest() {} |
+ virtual ~AshNativeCursorManagerTest() {} |
+ |
+ virtual void SetUp() OVERRIDE { |
+ gfx::GLSurface::InitializeOneOffForTests(); |
+ test::AshTestBase::SetUp(); |
+ } |
+}; |
+ |
namespace { |
internal::DisplayInfo CreateDisplayInfo(int64 id, |