diff options
author | Nicolas Roard <nicolas@android.com> | 2010-03-19 17:10:50 +0000 |
---|---|---|
committer | Nicolas Roard <nicolas@android.com> | 2010-03-19 17:10:50 +0000 |
commit | e8e125506184d70116d3a16023a64d9ed4953196 (patch) | |
tree | 27d9e8adc7255221055f76f7d2ad1ad4a2c23b02 /WebCore/rendering | |
parent | 8a2d491901c3de06dc060cc0c029246bd751a69a (diff) | |
download | external_webkit-e8e125506184d70116d3a16023a64d9ed4953196.zip external_webkit-e8e125506184d70116d3a16023a64d9ed4953196.tar.gz external_webkit-e8e125506184d70116d3a16023a64d9ed4953196.tar.bz2 |
Add back a missing ifdef
Change-Id: Ib0f0cf689e95b7333045df53ca645d34a0db21a4
Diffstat (limited to 'WebCore/rendering')
-rw-r--r-- | WebCore/rendering/RenderLayerCompositor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/WebCore/rendering/RenderLayerCompositor.cpp b/WebCore/rendering/RenderLayerCompositor.cpp index b50148f..ea510f8 100644 --- a/WebCore/rendering/RenderLayerCompositor.cpp +++ b/WebCore/rendering/RenderLayerCompositor.cpp @@ -996,8 +996,10 @@ bool RenderLayerCompositor::requiresCompositingLayer(const RenderLayer* layer) c // The root layer always has a compositing layer, but it may not have backing. return (inCompositingMode() && layer->isRootLayer()) || requiresCompositingForTransform(renderer) || +#if PLATFORM(ANDROID) #if ENABLE(COMPOSITED_FIXED_ELEMENTS) layer->isFixed() || +#endif #else requiresCompositingForVideo(renderer) || requiresCompositingForCanvas(renderer) || |