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

Unified Diff: Source/platform/graphics/GeneratedImage.h

Issue 630853002: Replacing the OVERRIDE with override in third_party/WebKit/Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase build fix Created 6 years, 2 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/GeneratedImage.h
diff --git a/Source/platform/graphics/GeneratedImage.h b/Source/platform/graphics/GeneratedImage.h
index a69ede2127068e3ed684fe55e9b27bb4aa31e0d9..6d8c715e2c60cbece5c98b3b1d6d4d38dbcfca54 100644
--- a/Source/platform/graphics/GeneratedImage.h
+++ b/Source/platform/graphics/GeneratedImage.h
@@ -34,26 +34,26 @@ namespace blink {
class PLATFORM_EXPORT GeneratedImage : public Image {
public:
- virtual bool currentFrameHasSingleSecurityOrigin() const OVERRIDE { return true; }
+ virtual bool currentFrameHasSingleSecurityOrigin() const override { return true; }
- virtual void setContainerSize(const IntSize& size) OVERRIDE { m_size = size; }
- virtual bool usesContainerSize() const OVERRIDE { return true; }
- virtual bool hasRelativeWidth() const OVERRIDE { return true; }
- virtual bool hasRelativeHeight() const OVERRIDE { return true; }
- virtual void computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) OVERRIDE;
+ virtual void setContainerSize(const IntSize& size) override { m_size = size; }
+ virtual bool usesContainerSize() const override { return true; }
+ virtual bool hasRelativeWidth() const override { return true; }
+ virtual bool hasRelativeHeight() const override { return true; }
+ virtual void computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) override;
- virtual IntSize size() const OVERRIDE { return m_size; }
+ virtual IntSize size() const override { return m_size; }
// Assume that generated content has no decoded data we need to worry about
- virtual void destroyDecodedData(bool) OVERRIDE { }
+ virtual void destroyDecodedData(bool) override { }
protected:
virtual void drawPattern(GraphicsContext*, const FloatRect&,
const FloatSize&, const FloatPoint&, CompositeOperator,
- const FloatRect&, WebBlendMode, const IntSize& repeatSpacing) OVERRIDE = 0;
+ const FloatRect&, WebBlendMode, const IntSize& repeatSpacing) override = 0;
// FIXME: Implement this to be less conservative.
- virtual bool currentFrameKnownToBeOpaque() OVERRIDE { return false; }
+ virtual bool currentFrameKnownToBeOpaque() override { return false; }
GeneratedImage() { }
« no previous file with comments | « Source/platform/graphics/DeferredImageDecoderTest.cpp ('k') | Source/platform/graphics/GradientGeneratedImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698