summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeng-Hui Zhu <ztenghui@google.com>2011-02-17 15:40:08 -0800
committerTeng-Hui Zhu <ztenghui@google.com>2011-02-17 15:40:08 -0800
commitded122ca732de13ba649ee28d909121bc40896f8 (patch)
tree1dfee872ebeed10f0d61fb1cb8e917d9b7215b59
parent03d850006e8ce54945fe44c36ffaf074143184c5 (diff)
downloadexternal_webkit-ded122ca732de13ba649ee28d909121bc40896f8.zip
external_webkit-ded122ca732de13ba649ee28d909121bc40896f8.tar.gz
external_webkit-ded122ca732de13ba649ee28d909121bc40896f8.tar.bz2
Fixed element in iframe should have a layer
bug:3466931 Change-Id: I3ce5aaef47b6135b191749b40869913f6420ce7f
-rw-r--r--WebCore/rendering/RenderLayerCompositor.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/WebCore/rendering/RenderLayerCompositor.cpp b/WebCore/rendering/RenderLayerCompositor.cpp
index 9775134..a115bfe 100644
--- a/WebCore/rendering/RenderLayerCompositor.cpp
+++ b/WebCore/rendering/RenderLayerCompositor.cpp
@@ -1193,10 +1193,6 @@ bool RenderLayerCompositor::requiresCompositingForAndroidLayers(const RenderLaye
return true;
#endif
#if ENABLE(COMPOSITED_FIXED_ELEMENTS)
- // First, check if we are in an iframe, and if so bail out
- if (m_renderView->document()->frame()->tree()->parent())
- return false;
-
// For the moment, we want to only enable fixed composited layers on mobile websites.
// Enable composited layers (for fixed elements)
// We can consider a website as being a 'mobile' site if all the