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

Unified Diff: Source/core/svg/graphics/SVGImageForContainer.h

Issue 631153003: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/svg (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « Source/core/svg/graphics/SVGImageChromeClient.h ('k') | Source/core/svg/graphics/filters/SVGFEImage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/graphics/SVGImageForContainer.h
diff --git a/Source/core/svg/graphics/SVGImageForContainer.h b/Source/core/svg/graphics/SVGImageForContainer.h
index f8b7ae78333d6cef53a96c0ed5803b32f8c20d25..6740395170cc80f4917a7a8931c01ad9fcaf4e84 100644
--- a/Source/core/svg/graphics/SVGImageForContainer.h
+++ b/Source/core/svg/graphics/SVGImageForContainer.h
@@ -34,34 +34,34 @@
namespace blink {
-class SVGImageForContainer FINAL : public Image {
+class SVGImageForContainer final : public Image {
public:
static PassRefPtr<SVGImageForContainer> create(SVGImage* image, const FloatSize& containerSize, float zoom)
{
return adoptRef(new SVGImageForContainer(image, containerSize, zoom));
}
- virtual bool isSVGImage() const OVERRIDE { return true; }
+ virtual bool isSVGImage() const override { return true; }
- virtual IntSize size() const OVERRIDE;
+ virtual IntSize size() const override;
void setURL(const KURL& url) { m_image->setURL(url); }
- virtual bool usesContainerSize() const OVERRIDE { return m_image->usesContainerSize(); }
- virtual bool hasRelativeWidth() const OVERRIDE { return m_image->hasRelativeWidth(); }
- virtual bool hasRelativeHeight() const OVERRIDE { return m_image->hasRelativeHeight(); }
- virtual void computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) OVERRIDE
+ virtual bool usesContainerSize() const override { return m_image->usesContainerSize(); }
+ virtual bool hasRelativeWidth() const override { return m_image->hasRelativeWidth(); }
+ virtual bool hasRelativeHeight() const override { return m_image->hasRelativeHeight(); }
+ virtual void computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) override
{
m_image->computeIntrinsicDimensions(intrinsicWidth, intrinsicHeight, intrinsicRatio);
}
- virtual void draw(GraphicsContext*, const FloatRect&, const FloatRect&, CompositeOperator, blink::WebBlendMode) OVERRIDE;
+ virtual void draw(GraphicsContext*, const FloatRect&, const FloatRect&, CompositeOperator, blink::WebBlendMode) override;
- virtual void drawPattern(GraphicsContext*, const FloatRect&, const FloatSize&, const FloatPoint&, CompositeOperator, const FloatRect&, blink::WebBlendMode, const IntSize& repeatSpacing) OVERRIDE;
+ virtual void drawPattern(GraphicsContext*, const FloatRect&, const FloatSize&, const FloatPoint&, CompositeOperator, const FloatRect&, blink::WebBlendMode, const IntSize& repeatSpacing) override;
// FIXME: Implement this to be less conservative.
- virtual bool currentFrameKnownToBeOpaque() OVERRIDE { return false; }
+ virtual bool currentFrameKnownToBeOpaque() override { return false; }
- virtual PassRefPtr<NativeImageSkia> nativeImageForCurrentFrame() OVERRIDE;
+ virtual PassRefPtr<NativeImageSkia> nativeImageForCurrentFrame() override;
private:
SVGImageForContainer(SVGImage* image, const FloatSize& containerSize, float zoom)
@@ -71,7 +71,7 @@ private:
{
}
- virtual void destroyDecodedData(bool) OVERRIDE { }
+ virtual void destroyDecodedData(bool) override { }
SVGImage* m_image;
const FloatSize m_containerSize;
« no previous file with comments | « Source/core/svg/graphics/SVGImageChromeClient.h ('k') | Source/core/svg/graphics/filters/SVGFEImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698