diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-11-12 16:05:08 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-11-16 21:32:59 +0000 |
commit | 4cc28c7c89f794d469f5e8f778ff05effe8c646f (patch) | |
tree | 2ad8ec8807145908fd2805cdeaa3b3954b1ea4df | |
parent | a3a82775eb0a8c02e58c0aabd5669fbc1867dcbb (diff) |
Add missing const declaration to new virtual
OpenClientNativePixmapDevice() as the only pure virtual method is const.
Change-Id: Ic5843bcc4682f906a028ec5c6d7615dd407f57fb
Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
-rw-r--r-- | src/core/ozone_platform_eglfs.cpp | 2 | ||||
-rw-r--r-- | src/core/ozone_platform_eglfs.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ozone_platform_eglfs.cpp b/src/core/ozone_platform_eglfs.cpp index 726f779e8..3ee2f1c4b 100644 --- a/src/core/ozone_platform_eglfs.cpp +++ b/src/core/ozone_platform_eglfs.cpp @@ -181,7 +181,7 @@ scoped_ptr<ui::NativeDisplayDelegate> OzonePlatformEglfs::CreateNativeDisplayDel return scoped_ptr<NativeDisplayDelegate>(new NativeDisplayDelegateOzone()); } -base::ScopedFD OzonePlatformEglfs::OpenClientNativePixmapDevice() +base::ScopedFD OzonePlatformEglfs::OpenClientNativePixmapDevice() const { return base::ScopedFD(); } diff --git a/src/core/ozone_platform_eglfs.h b/src/core/ozone_platform_eglfs.h index d898ff371..10bd4d4d0 100644 --- a/src/core/ozone_platform_eglfs.h +++ b/src/core/ozone_platform_eglfs.h @@ -62,7 +62,7 @@ class OzonePlatformEglfs : public OzonePlatform { PlatformWindowDelegate* delegate, const gfx::Rect& bounds) override; virtual scoped_ptr<ui::NativeDisplayDelegate> CreateNativeDisplayDelegate() override; - virtual base::ScopedFD OpenClientNativePixmapDevice() override; + virtual base::ScopedFD OpenClientNativePixmapDevice() const override; virtual ui::InputController* GetInputController() override; virtual scoped_ptr<ui::SystemInputInjector> CreateSystemInputInjector() override; virtual ui::OverlayManagerOzone* GetOverlayManager() override; |