summaryrefslogtreecommitdiffstats
path: root/webkit/compositor_bindings/WebContentLayerImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/compositor_bindings/WebContentLayerImpl.cpp')
-rw-r--r--webkit/compositor_bindings/WebContentLayerImpl.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/webkit/compositor_bindings/WebContentLayerImpl.cpp b/webkit/compositor_bindings/WebContentLayerImpl.cpp
index 05775a3..2705ff6 100644
--- a/webkit/compositor_bindings/WebContentLayerImpl.cpp
+++ b/webkit/compositor_bindings/WebContentLayerImpl.cpp
@@ -44,9 +44,14 @@ void WebContentLayerImpl::setDoubleSided(bool doubleSided)
m_layer->layer()->setDoubleSided(doubleSided);
}
-void WebContentLayerImpl::setContentsScale(float scale)
+void WebContentLayerImpl::setBoundsContainPageScale(bool boundsContainPageScale)
{
- m_layer->layer()->setContentsScale(scale);
+ return m_layer->layer()->setBoundsContainPageScale(boundsContainPageScale);
+}
+
+bool WebContentLayerImpl::boundsContainPageScale() const
+{
+ return m_layer->layer()->boundsContainPageScale();
}
void WebContentLayerImpl::setUseLCDText(bool enable)