summaryrefslogtreecommitdiffstats
path: root/cc/LayerChromium.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/LayerChromium.h')
-rw-r--r--cc/LayerChromium.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/LayerChromium.h b/cc/LayerChromium.h
index 0e02cfd..fc7a6739 100644
--- a/cc/LayerChromium.h
+++ b/cc/LayerChromium.h
@@ -232,6 +232,7 @@ public:
void setContentsScale(float);
// When true, the layer's contents are not scaled by the current page scale factor.
+ // setBoundsContainPageScale recursively sets the value on all child layers.
void setBoundsContainPageScale(bool);
bool boundsContainPageScale() const { return m_boundsContainPageScale; }
@@ -273,6 +274,8 @@ protected:
void setNeedsCommit();
+ IntRect layerRectToContentRect(const WebKit::WebRect& layerRect);
+
// This flag is set when layer need repainting/updating.
bool m_needsDisplay;