| Index: cc/contents_scaling_layer.h
|
| diff --git a/cc/contents_scaling_layer.h b/cc/contents_scaling_layer.h
|
| index 4f0fcdb9bcdcf852e1cc269ccceb12420ed0931c..b01ec51f7b9b12ba6e9d6bcfce1f8f6b4dff69ac 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 updateContentsScale(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
|
|
|