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

Unified Diff: Source/core/style/StyleFetchedImage.h

Issue 1226293002: Fix virtual/override/final usage in Source/core/{animation,css,style}/. (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/core/style/PathStyleMotionPath.h ('k') | Source/core/style/StyleFetchedImageSet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/StyleFetchedImage.h
diff --git a/Source/core/style/StyleFetchedImage.h b/Source/core/style/StyleFetchedImage.h
index be1d5a006930c687334d426d18a07f2ac97dbc83..12398de354b6685fb685d4d207ff27878023b985 100644
--- a/Source/core/style/StyleFetchedImage.h
+++ b/Source/core/style/StyleFetchedImage.h
@@ -37,27 +37,27 @@ class StyleFetchedImage final : public StyleImage, private ImageResourceClient {
WTF_MAKE_FAST_ALLOCATED(StyleFetchedImage);
public:
static PassRefPtr<StyleFetchedImage> create(ImageResource* image, Document* document) { return adoptRef(new StyleFetchedImage(image, document)); }
- virtual ~StyleFetchedImage();
+ ~StyleFetchedImage() override;
- virtual WrappedImagePtr data() const override { return m_image.get(); }
+ WrappedImagePtr data() const override { return m_image.get(); }
- virtual PassRefPtrWillBeRawPtr<CSSValue> cssValue() const override;
+ PassRefPtrWillBeRawPtr<CSSValue> cssValue() const override;
- virtual bool canRender(const LayoutObject&, float multiplier) const override;
- virtual bool isLoaded() const override;
- virtual bool errorOccurred() const override;
- virtual LayoutSize imageSize(const LayoutObject*, float multiplier) const override;
- virtual bool imageHasRelativeWidth() const override;
- virtual bool imageHasRelativeHeight() const override;
- virtual void computeIntrinsicDimensions(const LayoutObject*, Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) override;
- virtual bool usesImageContainerSize() const override;
- virtual void setContainerSizeForLayoutObject(const LayoutObject*, const IntSize&, float) override;
- virtual void addClient(LayoutObject*) override;
- virtual void removeClient(LayoutObject*) override;
- virtual void notifyFinished(Resource*) override;
- virtual PassRefPtr<Image> image(LayoutObject*, const IntSize&) const override;
- virtual bool knownToBeOpaque(const LayoutObject*) const override;
- virtual ImageResource* cachedImage() const override { return m_image.get(); }
+ bool canRender(const LayoutObject&, float multiplier) const override;
+ bool isLoaded() const override;
+ bool errorOccurred() const override;
+ LayoutSize imageSize(const LayoutObject*, float multiplier) const override;
+ bool imageHasRelativeWidth() const override;
+ bool imageHasRelativeHeight() const override;
+ void computeIntrinsicDimensions(const LayoutObject*, Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) override;
+ bool usesImageContainerSize() const override;
+ void setContainerSizeForLayoutObject(const LayoutObject*, const IntSize&, float) override;
+ void addClient(LayoutObject*) override;
+ void removeClient(LayoutObject*) override;
+ void notifyFinished(Resource*) override;
+ PassRefPtr<Image> image(LayoutObject*, const IntSize&) const override;
+ bool knownToBeOpaque(const LayoutObject*) const override;
+ ImageResource* cachedImage() const override { return m_image.get(); }
private:
StyleFetchedImage(ImageResource*, Document*);
« no previous file with comments | « Source/core/style/PathStyleMotionPath.h ('k') | Source/core/style/StyleFetchedImageSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698