Index: cc/contents_scaling_layer.h |
diff --git a/cc/contents_scaling_layer.h b/cc/contents_scaling_layer.h |
index 4f0fcdb9bcdcf852e1cc269ccceb12420ed0931c..9ce8d174bd4d261ba62525199a97b8b134f0384f 100644 |
--- a/cc/contents_scaling_layer.h |
+++ b/cc/contents_scaling_layer.h |
@@ -14,19 +14,14 @@ namespace cc { |
// The content bounds are determined by bounds and scale of the contents. |
class CC_EXPORT ContentsScalingLayer : public Layer { |
public: |
- virtual gfx::Size contentBounds() const OVERRIDE; |
- virtual float contentsScaleX() const OVERRIDE; |
- virtual float contentsScaleY() const OVERRIDE; |
- virtual void setContentsScale(float contentsScale) OVERRIDE; |
+ virtual void setIdealContentsScale(float ideal_contents_scale) OVERRIDE; |
+ virtual void didUpdateBounds() OVERRIDE; |
protected: |
ContentsScalingLayer(); |
virtual ~ContentsScalingLayer(); |
gfx::Size computeContentBoundsForScale(float scaleX, float scaleY) const; |
- |
- private: |
- float m_contentsScale; |
}; |
} // namespace cc |