Update {virtual,override} to follow C++11 style in ppapi.
The Google style guide states that only one of {virtual,override,final} should be used for each declaration, since override implies virtual and final implies both virtual and override.
This patch was manually generated using a regex and a text editor.
BUG=417463
Review URL: https://codereview.chromium.org/1097393007
Cr-Commit-Position: refs/heads/master@{#326505}
diff --git a/ppapi/shared_impl/ppb_graphics_3d_shared.h b/ppapi/shared_impl/ppb_graphics_3d_shared.h
index 8df6219..09bc0f53 100644
--- a/ppapi/shared_impl/ppb_graphics_3d_shared.h
+++ b/ppapi/shared_impl/ppb_graphics_3d_shared.h
@@ -30,26 +30,26 @@
public thunk::PPB_Graphics3D_API {
public:
// Resource overrides.
- virtual thunk::PPB_Graphics3D_API* AsPPB_Graphics3D_API() override;
+ thunk::PPB_Graphics3D_API* AsPPB_Graphics3D_API() override;
// PPB_Graphics3D_API implementation.
- virtual int32_t GetAttribs(int32_t attrib_list[]) override;
- virtual int32_t SetAttribs(const int32_t attrib_list[]) override;
- virtual int32_t GetError() override;
- virtual int32_t ResizeBuffers(int32_t width, int32_t height) override;
- virtual int32_t SwapBuffers(scoped_refptr<TrackedCallback> callback) override;
- virtual int32_t GetAttribMaxValue(int32_t attribute, int32_t* value) override;
+ int32_t GetAttribs(int32_t attrib_list[]) override;
+ int32_t SetAttribs(const int32_t attrib_list[]) override;
+ int32_t GetError() override;
+ int32_t ResizeBuffers(int32_t width, int32_t height) override;
+ int32_t SwapBuffers(scoped_refptr<TrackedCallback> callback) override;
+ int32_t GetAttribMaxValue(int32_t attribute, int32_t* value) override;
- virtual void* MapTexSubImage2DCHROMIUM(GLenum target,
- GLint level,
- GLint xoffset,
- GLint yoffset,
- GLsizei width,
- GLsizei height,
- GLenum format,
- GLenum type,
- GLenum access) override;
- virtual void UnmapTexSubImage2DCHROMIUM(const void* mem) override;
+ void* MapTexSubImage2DCHROMIUM(GLenum target,
+ GLint level,
+ GLint xoffset,
+ GLint yoffset,
+ GLsizei width,
+ GLsizei height,
+ GLenum format,
+ GLenum type,
+ GLenum access) override;
+ void UnmapTexSubImage2DCHROMIUM(const void* mem) override;
gpu::gles2::GLES2Implementation* gles2_impl() { return gles2_impl_.get(); }
@@ -59,7 +59,7 @@
protected:
PPB_Graphics3D_Shared(PP_Instance instance);
PPB_Graphics3D_Shared(const HostResource& host_resource);
- virtual ~PPB_Graphics3D_Shared();
+ ~PPB_Graphics3D_Shared() override;
virtual gpu::CommandBuffer* GetCommandBuffer() = 0;
virtual gpu::GpuControl* GetGpuControl() = 0;