summaryrefslogtreecommitdiff
path: root/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp')
-rw-r--r--Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp b/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
index cb94a9652..7de531692 100644
--- a/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
+++ b/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
@@ -376,9 +376,16 @@ void CoordinatedGraphicsLayer::setContentsTilePhase(const FloatSize& p)
didChangeLayerState();
}
+static bool s_shouldSupportContentsTiling = false;
+
+void CoordinatedGraphicsLayer::setShouldSupportContentsTiling(bool s)
+{
+ s_shouldSupportContentsTiling = s;
+}
+
bool GraphicsLayer::supportsContentsTiling()
{
- return true;
+ return s_shouldSupportContentsTiling;
}
void CoordinatedGraphicsLayer::setContentsNeedsDisplay()