| Index: cc/LayerChromium.cpp
|
| diff --git a/cc/LayerChromium.cpp b/cc/LayerChromium.cpp
|
| index da4b0025013b38bdf224d9e7878ffa01b670b478..c8f6d66764a6a54418f1f5808ef33f557f16427c 100644
|
| --- a/cc/LayerChromium.cpp
|
| +++ b/cc/LayerChromium.cpp
|
| @@ -66,6 +66,7 @@ LayerChromium::LayerChromium()
|
| , m_drawTransformIsAnimating(false)
|
| , m_screenSpaceTransformIsAnimating(false)
|
| , m_contentsScale(1.0)
|
| + , m_boundsContainPageScale(false)
|
| , m_layerAnimationDelegate(0)
|
| , m_layerScrollClient(0)
|
| {
|
| @@ -591,6 +592,16 @@ void LayerChromium::setContentsScale(float contentsScale)
|
| if (!needsContentsScale() || m_contentsScale == contentsScale)
|
| return;
|
| m_contentsScale = contentsScale;
|
| +
|
| + setNeedsDisplay();
|
| +}
|
| +
|
| +void LayerChromium::setBoundsContainPageScale(bool boundsContainPageScale)
|
| +{
|
| + if (boundsContainPageScale == m_boundsContainPageScale)
|
| + return;
|
| +
|
| + m_boundsContainPageScale = boundsContainPageScale;
|
| setNeedsDisplay();
|
| }
|
|
|
|
|