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

Unified Diff: Source/core/rendering/style/StyleGeneratedImage.h

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/core/rendering/style/StyleGeneratedImage.h
diff --git a/Source/core/rendering/style/StyleGeneratedImage.h b/Source/core/rendering/style/StyleGeneratedImage.h
index 1f39652d03a909f7e6669c68d9cc84b981379b37..68a28ab446af69805cd6740ca73f792020525360 100644
--- a/Source/core/rendering/style/StyleGeneratedImage.h
+++ b/Source/core/rendering/style/StyleGeneratedImage.h
@@ -42,16 +42,16 @@ public:
virtual PassRefPtrWillBeRawPtr<CSSValue> cssValue() const override;
- virtual LayoutSize imageSize(const RenderObject*, float multiplier) const override;
+ virtual LayoutSize imageSize(const LayoutObject*, float multiplier) const override;
virtual bool imageHasRelativeWidth() const override { return !m_fixedSize; }
virtual bool imageHasRelativeHeight() const override { return !m_fixedSize; }
- virtual void computeIntrinsicDimensions(const RenderObject*, Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) override;
+ virtual void computeIntrinsicDimensions(const LayoutObject*, Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) override;
virtual bool usesImageContainerSize() const override { return !m_fixedSize; }
- virtual void setContainerSizeForRenderer(const RenderObject*, const IntSize& containerSize, float) override { m_containerSize = containerSize; }
- virtual void addClient(RenderObject*) override;
- virtual void removeClient(RenderObject*) override;
- virtual PassRefPtr<Image> image(RenderObject*, const IntSize&) const override;
- virtual bool knownToBeOpaque(const RenderObject*) const override;
+ virtual void setContainerSizeForRenderer(const LayoutObject*, const IntSize& containerSize, float) override { m_containerSize = containerSize; }
+ virtual void addClient(LayoutObject*) override;
+ virtual void removeClient(LayoutObject*) override;
+ virtual PassRefPtr<Image> image(LayoutObject*, const IntSize&) const override;
+ virtual bool knownToBeOpaque(const LayoutObject*) const override;
private:
StyleGeneratedImage(PassRefPtrWillBeRawPtr<CSSImageGeneratorValue>);
« no previous file with comments | « Source/core/rendering/style/StyleFetchedImageSet.cpp ('k') | Source/core/rendering/style/StyleGeneratedImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698