Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Unified Diff: ui/gl/gl_surface_mac.cc

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gl/gl_surface_glx.cc ('k') | ui/gl/gl_surface_osmesa.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_mac.cc
diff --git a/ui/gl/gl_surface_mac.cc b/ui/gl/gl_surface_mac.cc
index 41f67981a6209e0736340f3dfd39c4be7c1a36c5..dec5a9a65af97cf9130ebc6d93b87bf71f49536f 100644
--- a/ui/gl/gl_surface_mac.cc
+++ b/ui/gl/gl_surface_mac.cc
@@ -30,16 +30,16 @@ class GL_EXPORT NoOpGLSurface : public GLSurface {
explicit NoOpGLSurface(const gfx::Size& size) : size_(size) {}
// Implement GLSurface.
- virtual bool Initialize() OVERRIDE { return true; }
- virtual void Destroy() OVERRIDE {}
- virtual bool IsOffscreen() OVERRIDE { return true; }
- virtual bool SwapBuffers() OVERRIDE {
+ virtual bool Initialize() override { return true; }
+ virtual void Destroy() override {}
+ virtual bool IsOffscreen() override { return true; }
+ virtual bool SwapBuffers() override {
NOTREACHED() << "Cannot call SwapBuffers on a NoOpGLSurface.";
return false;
}
- virtual gfx::Size GetSize() OVERRIDE { return size_; }
- virtual void* GetHandle() OVERRIDE { return NULL; }
- virtual void* GetDisplay() OVERRIDE { return NULL; }
+ virtual gfx::Size GetSize() override { return size_; }
+ virtual void* GetHandle() override { return NULL; }
+ virtual void* GetDisplay() override { return NULL; }
protected:
virtual ~NoOpGLSurface() {}
« no previous file with comments | « ui/gl/gl_surface_glx.cc ('k') | ui/gl/gl_surface_osmesa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698