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

Unified Diff: sky/engine/core/rendering/style/StyleImage.h

Issue 711203002: Remove zoom() and effectiveZoom(). (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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: sky/engine/core/rendering/style/StyleImage.h
diff --git a/sky/engine/core/rendering/style/StyleImage.h b/sky/engine/core/rendering/style/StyleImage.h
index 157ffa23def439b0a3d595437dbde19ff2bcbfcd..23ecb7d5071c22cec2aa71e239fc6f1cfc40a9b9 100644
--- a/sky/engine/core/rendering/style/StyleImage.h
+++ b/sky/engine/core/rendering/style/StyleImage.h
@@ -51,15 +51,15 @@ public:
virtual PassRefPtr<CSSValue> cssValue() const = 0;
- virtual bool canRender(const RenderObject&, float /*multiplier*/) const { return true; }
+ virtual bool canRender(const RenderObject&) const { return true; }
virtual bool isLoaded() const { return true; }
virtual bool errorOccurred() const { return false; }
- virtual LayoutSize imageSize(const RenderObject*, float multiplier) const = 0;
+ virtual LayoutSize imageSize(const RenderObject*) const = 0;
virtual void computeIntrinsicDimensions(const RenderObject*, Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio) = 0;
virtual bool imageHasRelativeWidth() const = 0;
virtual bool imageHasRelativeHeight() const = 0;
virtual bool usesImageContainerSize() const = 0;
- virtual void setContainerSizeForRenderer(const RenderObject*, const IntSize&, float) = 0;
+ virtual void setContainerSizeForRenderer(const RenderObject*, const IntSize&) = 0;
virtual void addClient(RenderObject*) = 0;
virtual void removeClient(RenderObject*) = 0;
virtual PassRefPtr<Image> image(RenderObject*, const IntSize&) const = 0;
« no previous file with comments | « sky/engine/core/rendering/style/StyleGeneratedImage.cpp ('k') | sky/engine/core/rendering/style/StylePendingImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698