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

Unified Diff: Source/platform/graphics/gpu/DrawingBuffer.h

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
Index: Source/platform/graphics/gpu/DrawingBuffer.h
diff --git a/Source/platform/graphics/gpu/DrawingBuffer.h b/Source/platform/graphics/gpu/DrawingBuffer.h
index 8c9fda036ee192f9e3f491c25578b70e22725b67..7c8cfad22a78d00a96b987bd31322a45124767e3 100644
--- a/Source/platform/graphics/gpu/DrawingBuffer.h
+++ b/Source/platform/graphics/gpu/DrawingBuffer.h
@@ -95,7 +95,7 @@ public:
static PassRefPtr<DrawingBuffer> create(PassOwnPtr<WebGraphicsContext3D>, const IntSize&, PreserveDrawingBuffer, WebGraphicsContext3D::Attributes requestedAttributes);
static void forceNextDrawingBufferCreationToFail();
- virtual ~DrawingBuffer();
+ ~DrawingBuffer() override;
// Destruction will be completed after all mailboxes are released.
void beginDestruction();
@@ -167,8 +167,8 @@ public:
WebGraphicsContext3D::Attributes getActualAttributes() const { return m_actualAttributes; }
// WebExternalTextureLayerClient implementation.
- virtual bool prepareMailbox(WebExternalTextureMailbox*, WebExternalBitmap*) override;
- virtual void mailboxReleased(const WebExternalTextureMailbox&, bool lostResource = false) override;
+ bool prepareMailbox(WebExternalTextureMailbox*, WebExternalBitmap*) override;
+ void mailboxReleased(const WebExternalTextureMailbox&, bool lostResource = false) override;
// Destroys the TEXTURE_2D binding for the owned context
bool copyToPlatformTexture(WebGraphicsContext3D*, Platform3DObject texture, GLenum internalFormat,
« no previous file with comments | « Source/platform/graphics/filters/SpotLightSource.h ('k') | Source/platform/graphics/gpu/DrawingBufferTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698