| Index: cc/LayerChromium.h
|
| diff --git a/cc/LayerChromium.h b/cc/LayerChromium.h
|
| index aad1fe224e898afcc0fba46e34f49f4b8475f887..7b06a6d7bea27a9a8cdb0068c5c74ac97e96ccde 100644
|
| --- a/cc/LayerChromium.h
|
| +++ b/cc/LayerChromium.h
|
| @@ -224,6 +224,10 @@ public:
|
| float contentsScale() const { return m_contentsScale; }
|
| void setContentsScale(float);
|
|
|
| + // When true, the layer's contents are not scaled by the current page scale factor.
|
| + void setBoundsContainPageScale(bool);
|
| + bool boundsContainPageScale() const { return m_boundsContainPageScale; }
|
| +
|
| // Returns true if any of the layer's descendants has content to draw.
|
| bool descendantDrawsContent();
|
|
|
| @@ -359,6 +363,7 @@ private:
|
| // Uses target surface space.
|
| IntRect m_drawableContentRect;
|
| float m_contentsScale;
|
| + bool m_boundsContainPageScale;
|
|
|
| WebKit::WebAnimationDelegate* m_layerAnimationDelegate;
|
| WebKit::WebLayerScrollClient* m_layerScrollClient;
|
|
|