diff options
author | Teng-Hui Zhu <ztenghui@google.com> | 2011-02-17 15:40:08 -0800 |
---|---|---|
committer | Teng-Hui Zhu <ztenghui@google.com> | 2011-02-17 15:40:08 -0800 |
commit | ded122ca732de13ba649ee28d909121bc40896f8 (patch) | |
tree | 1dfee872ebeed10f0d61fb1cb8e917d9b7215b59 | |
parent | 03d850006e8ce54945fe44c36ffaf074143184c5 (diff) | |
download | external_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.cpp | 4 |
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 |