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

Unified Diff: Source/platform/graphics/RecordingImageBufferSurface.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/RecordingImageBufferSurface.h
diff --git a/Source/platform/graphics/RecordingImageBufferSurface.h b/Source/platform/graphics/RecordingImageBufferSurface.h
index cd787e42974cc31cab2b26751e45a3aad8f166d9..26a391651718b546d92c0be7e32777d8c688cbb5 100644
--- a/Source/platform/graphics/RecordingImageBufferSurface.h
+++ b/Source/platform/graphics/RecordingImageBufferSurface.h
@@ -31,7 +31,7 @@ class PLATFORM_EXPORT RecordingImageBufferSurface : public ImageBufferSurface {
WTF_MAKE_NONCOPYABLE(RecordingImageBufferSurface); WTF_MAKE_FAST_ALLOCATED(RecordingImageBufferSurface);
public:
RecordingImageBufferSurface(const IntSize&, PassOwnPtr<RecordingImageBufferFallbackSurfaceFactory> fallbackFactory, OpacityMode = NonOpaque);
- virtual ~RecordingImageBufferSurface();
+ ~RecordingImageBufferSurface() override;
// Implementation of ImageBufferSurface interfaces
SkCanvas* canvas() const override;
@@ -42,7 +42,7 @@ public:
bool isRecording() const override { return !m_fallbackSurface; }
void willAccessPixels() override;
void willOverwriteCanvas() override;
- void finalizeFrame(const FloatRect&) override;
+ virtual void finalizeFrame(const FloatRect&);
void setImageBuffer(ImageBuffer*) override;
PassRefPtr<SkImage> newImageSnapshot() const override;
void draw(GraphicsContext*, const FloatRect& destRect, const FloatRect& srcRect, SkXfermode::Mode) override;
« no previous file with comments | « Source/platform/graphics/PicturePattern.h ('k') | Source/platform/graphics/RecordingImageBufferSurfaceTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698