Remove stray semicolons.
Turns out function declarations don't end in semicolons...
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2720
No public API changes.
TBR=reed@google.com
Change-Id: I72b56d52e1ff7fa6e89c295b0de8c46599791ebb
Reviewed-on: https://skia-review.googlesource.com/2720
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
diff --git a/tools/gpu/gl/debug/GrBufferObj.h b/tools/gpu/gl/debug/GrBufferObj.h
index 96aef6e..c91606d 100644
--- a/tools/gpu/gl/debug/GrBufferObj.h
+++ b/tools/gpu/gl/debug/GrBufferObj.h
@@ -14,7 +14,7 @@
////////////////////////////////////////////////////////////////////////////////
class GrBufferObj : public GrFakeRefObj {
- GR_DEFINE_CREATOR(GrBufferObj);
+ GR_DEFINE_CREATOR(GrBufferObj)
public:
GrBufferObj()
diff --git a/tools/gpu/gl/debug/GrFakeRefObj.h b/tools/gpu/gl/debug/GrFakeRefObj.h
index 3058051..e59aeb3 100644
--- a/tools/gpu/gl/debug/GrFakeRefObj.h
+++ b/tools/gpu/gl/debug/GrFakeRefObj.h
@@ -30,7 +30,7 @@
fID = ++fNextID;
}
- virtual ~GrFakeRefObj() {};
+ virtual ~GrFakeRefObj() {}
void ref() {
fRef++;
diff --git a/tools/gpu/gl/debug/GrFrameBufferObj.h b/tools/gpu/gl/debug/GrFrameBufferObj.h
index 42a0eff..3bd642f 100644
--- a/tools/gpu/gl/debug/GrFrameBufferObj.h
+++ b/tools/gpu/gl/debug/GrFrameBufferObj.h
@@ -16,7 +16,7 @@
// TODO: when a framebuffer obj is bound the GL_SAMPLES query must return 0
// TODO: GL_STENCIL_BITS must also be redirected to the framebuffer
class GrFrameBufferObj : public GrFakeRefObj {
- GR_DEFINE_CREATOR(GrFrameBufferObj);
+ GR_DEFINE_CREATOR(GrFrameBufferObj)
public:
GrFrameBufferObj()
diff --git a/tools/gpu/gl/debug/GrProgramObj.h b/tools/gpu/gl/debug/GrProgramObj.h
index a25341a..f4ff9d1 100644
--- a/tools/gpu/gl/debug/GrProgramObj.h
+++ b/tools/gpu/gl/debug/GrProgramObj.h
@@ -15,7 +15,7 @@
////////////////////////////////////////////////////////////////////////////////
class GrProgramObj : public GrFakeRefObj {
- GR_DEFINE_CREATOR(GrProgramObj);
+ GR_DEFINE_CREATOR(GrProgramObj)
public:
GrProgramObj()
diff --git a/tools/gpu/gl/debug/GrRenderBufferObj.h b/tools/gpu/gl/debug/GrRenderBufferObj.h
index 134b9ec..1802eb5 100644
--- a/tools/gpu/gl/debug/GrRenderBufferObj.h
+++ b/tools/gpu/gl/debug/GrRenderBufferObj.h
@@ -13,7 +13,7 @@
////////////////////////////////////////////////////////////////////////////////
class GrRenderBufferObj : public GrFBBindableObj {
- GR_DEFINE_CREATOR(GrRenderBufferObj);
+ GR_DEFINE_CREATOR(GrRenderBufferObj)
public:
GrRenderBufferObj()
diff --git a/tools/gpu/gl/debug/GrShaderObj.h b/tools/gpu/gl/debug/GrShaderObj.h
index 327bd7f..8ecb990 100644
--- a/tools/gpu/gl/debug/GrShaderObj.h
+++ b/tools/gpu/gl/debug/GrShaderObj.h
@@ -14,7 +14,7 @@
////////////////////////////////////////////////////////////////////////////////
class GrShaderObj : public GrFakeRefObj {
- GR_DEFINE_CREATOR(GrShaderObj);
+ GR_DEFINE_CREATOR(GrShaderObj)
public:
GrShaderObj()
diff --git a/tools/gpu/gl/debug/GrTextureObj.h b/tools/gpu/gl/debug/GrTextureObj.h
index fcf851d..e290838 100644
--- a/tools/gpu/gl/debug/GrTextureObj.h
+++ b/tools/gpu/gl/debug/GrTextureObj.h
@@ -15,7 +15,7 @@
////////////////////////////////////////////////////////////////////////////////
class GrTextureObj : public GrFBBindableObj {
- GR_DEFINE_CREATOR(GrTextureObj);
+ GR_DEFINE_CREATOR(GrTextureObj)
public:
GrTextureObj()
diff --git a/tools/gpu/gl/debug/GrTextureUnitObj.h b/tools/gpu/gl/debug/GrTextureUnitObj.h
index 5c7a039..b06d117 100644
--- a/tools/gpu/gl/debug/GrTextureUnitObj.h
+++ b/tools/gpu/gl/debug/GrTextureUnitObj.h
@@ -16,7 +16,7 @@
// GL emulation objects they are derived from GrFakeRefObj to provide some
// uniformity in how the debug interface class manages resources
class GrTextureUnitObj : public GrFakeRefObj {
- GR_DEFINE_CREATOR(GrTextureUnitObj);
+ GR_DEFINE_CREATOR(GrTextureUnitObj)
public:
GrTextureUnitObj()
diff --git a/tools/gpu/gl/debug/GrVertexArrayObj.h b/tools/gpu/gl/debug/GrVertexArrayObj.h
index 989c610..3aeb0b2 100644
--- a/tools/gpu/gl/debug/GrVertexArrayObj.h
+++ b/tools/gpu/gl/debug/GrVertexArrayObj.h
@@ -11,7 +11,7 @@
#include "GrFakeRefObj.h"
class GrVertexArrayObj : public GrFakeRefObj {
- GR_DEFINE_CREATOR(GrVertexArrayObj);
+ GR_DEFINE_CREATOR(GrVertexArrayObj)
public:
GrVertexArrayObj() : GrFakeRefObj() {}
diff --git a/tools/gpu/gl/glx/CreatePlatformGLTestContext_glx.cpp b/tools/gpu/gl/glx/CreatePlatformGLTestContext_glx.cpp
index 9cff0b7..b8e1996 100644
--- a/tools/gpu/gl/glx/CreatePlatformGLTestContext_glx.cpp
+++ b/tools/gpu/gl/glx/CreatePlatformGLTestContext_glx.cpp
@@ -74,7 +74,7 @@
static Display* get_display() {
class AutoDisplay {
public:
- AutoDisplay() { fDisplay = XOpenDisplay(nullptr); };
+ AutoDisplay() { fDisplay = XOpenDisplay(nullptr); }
~AutoDisplay() {
if (fDisplay) {
XCloseDisplay(fDisplay);
diff --git a/tools/gpu/gl/null/NullGLTestContext.cpp b/tools/gpu/gl/null/NullGLTestContext.cpp
index 56236a4..dcb6231 100644
--- a/tools/gpu/gl/null/NullGLTestContext.cpp
+++ b/tools/gpu/gl/null/NullGLTestContext.cpp
@@ -21,7 +21,7 @@
~NullGLContext() override { this->teardown(); }
private:
- void onPlatformMakeCurrent() const override {};
+ void onPlatformMakeCurrent() const override {}
void onPlatformSwapBuffers() const override {}
GrGLFuncPtr onPlatformGetProcAddress(const char*) const override { return nullptr; }
};