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

Unified Diff: Source/platform/graphics/gpu/DrawingBufferTest.cpp

Issue 1213003004: Fix virtual/override/final usage in Source/platform/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | « Source/platform/graphics/gpu/DrawingBuffer.h ('k') | Source/platform/graphics/paint/CachedDisplayItem.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/gpu/DrawingBufferTest.cpp
diff --git a/Source/platform/graphics/gpu/DrawingBufferTest.cpp b/Source/platform/graphics/gpu/DrawingBufferTest.cpp
index 80d5585d42dca7d79e62537515b70769a655a5d5..abd3fd246aabe947f22ccd7844b2c951a751078f 100644
--- a/Source/platform/graphics/gpu/DrawingBufferTest.cpp
+++ b/Source/platform/graphics/gpu/DrawingBufferTest.cpp
@@ -528,14 +528,14 @@ public:
DepthStencilTrackingContext()
: m_nextRenderBufferId(1)
, m_stencilAttachment(0)
- , m_depthAttachment(0) { }
- virtual ~DepthStencilTrackingContext() { }
+ , m_depthAttachment(0) {}
+ ~DepthStencilTrackingContext() override {}
int numAllocatedRenderBuffer() const { return m_nextRenderBufferId - 1; }
WebGLId stencilAttachment() const { return m_stencilAttachment; }
WebGLId depthAttachment() const { return m_depthAttachment; }
- virtual WebString getString(WGC3Denum type) override
+ WebString getString(WGC3Denum type) override
{
if (type == GL_EXTENSIONS) {
return WebString::fromUTF8("GL_OES_packed_depth_stencil");
@@ -543,12 +543,12 @@ public:
return WebString();
}
- virtual WebGLId createRenderbuffer() override
+ WebGLId createRenderbuffer() override
{
return ++m_nextRenderBufferId;
}
- virtual void framebufferRenderbuffer(WGC3Denum target, WGC3Denum attachment, WGC3Denum renderbuffertarget, WebGLId renderbuffer) override
+ void framebufferRenderbuffer(WGC3Denum target, WGC3Denum attachment, WGC3Denum renderbuffertarget, WebGLId renderbuffer) override
{
if (attachment == GL_STENCIL_ATTACHMENT) {
m_stencilAttachment = renderbuffer;
@@ -557,7 +557,7 @@ public:
}
}
- virtual void getIntegerv(WGC3Denum ptype, WGC3Dint* value) override
+ void getIntegerv(WGC3Denum ptype, WGC3Dint* value) override
{
switch (ptype) {
case GL_DEPTH_BITS:
« no previous file with comments | « Source/platform/graphics/gpu/DrawingBuffer.h ('k') | Source/platform/graphics/paint/CachedDisplayItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698