summaryrefslogtreecommitdiffstats
path: root/src/core/gl_surface_qt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/gl_surface_qt.h')
-rw-r--r--src/core/gl_surface_qt.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/core/gl_surface_qt.h b/src/core/gl_surface_qt.h
index 9e0692c60..08b501846 100644
--- a/src/core/gl_surface_qt.h
+++ b/src/core/gl_surface_qt.h
@@ -45,8 +45,6 @@
#include "ui/gfx/geometry/size.h"
#include "ui/gl/gl_surface.h"
-#include <QtCore/qcompilerdetection.h> // Needed for Q_DECL_OVERRIDE
-
namespace gl {
class GLSurfaceQt: public GLSurface {
@@ -56,11 +54,11 @@ public:
static bool HasEGLExtension(const char* name);
// Implement GLSurface.
- virtual void* GetDisplay() Q_DECL_OVERRIDE;
- virtual void* GetConfig() Q_DECL_OVERRIDE;
- virtual bool IsOffscreen() Q_DECL_OVERRIDE;
- virtual gfx::SwapResult SwapBuffers() Q_DECL_OVERRIDE;
- virtual gfx::Size GetSize() Q_DECL_OVERRIDE;
+ void *GetDisplay() override;
+ void *GetConfig() override;
+ bool IsOffscreen() override;
+ gfx::SwapResult SwapBuffers() override;
+ gfx::Size GetSize() override;
protected:
GLSurfaceQt();