summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Roard <nicolasroard@google.com>2012-04-06 15:16:28 -0700
committerNicolas Roard <nicolasroard@google.com>2012-04-06 15:16:28 -0700
commit9c2247ca3b85ced69521299cc63d666b2eefe782 (patch)
tree827a5fe0668a921f1f225ecb96c59b74f35d57da
parent2e510fd5b5a30f1315c272d44ae3aa4cba355498 (diff)
downloadexternal_webkit-9c2247ca3b85ced69521299cc63d666b2eefe782.zip
external_webkit-9c2247ca3b85ced69521299cc63d666b2eefe782.tar.gz
external_webkit-9c2247ca3b85ced69521299cc63d666b2eefe782.tar.bz2
Temporary workaround to fix a bug on google.com
Change-Id: Ie03798396ed7df6fea6cb2ae7e1f7ae327409139
-rw-r--r--Source/WebCore/rendering/RenderLayerCompositor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/WebCore/rendering/RenderLayerCompositor.cpp b/Source/WebCore/rendering/RenderLayerCompositor.cpp
index 733a418..1871b57 100644
--- a/Source/WebCore/rendering/RenderLayerCompositor.cpp
+++ b/Source/WebCore/rendering/RenderLayerCompositor.cpp
@@ -628,6 +628,7 @@ bool RenderLayerCompositor::checkForPositionedElements(Vector<RenderLayer*>* lis
bool fixedSibling = false;
bool positionedSibling = false;
+#if 0
// For absolute positioned elements, we need to check if they are followed
// by a composited element; if so, they also need to be composited, as the
// layer display rendering might be incorrect (absolute elements being
@@ -650,6 +651,7 @@ bool RenderLayerCompositor::checkForPositionedElements(Vector<RenderLayer*>* lis
break;
}
}
+#endif
// If we find a fixed layer, let's mark all the following layers as being
// composited. The layers' surfaces will be merged if needed UI-side.
@@ -737,7 +739,7 @@ void RenderLayerCompositor::computeCompositingRequirements(RenderLayer* layer, O
bool willBeComposited = needsToBeComposited(layer);
-#if ENABLE(COMPOSITED_FIXED_ELEMENTS)
+#if 0 && ENABLE(COMPOSITED_FIXED_ELEMENTS)
willBeComposited |= layer->shouldComposite();
layer->setMustOverlapCompositedLayers(layer->shouldComposite());
#endif