bug:
5480098
This fixes the case where they were drawn on the base layer, beneath overscroll
elements.
Change-Id: If9dda8c3a25cf38e777847b834ae02ec530a8000
if (layer->isFixed())
compositingState.m_hasFixedElement = true;
#endif
-
-#if ENABLE(ANDROID_OVERFLOW_SCROLL)
- // we don't want to signal that the subtree is compositing if the reason
- // is because the layer is an overflow layer -- doing so would trigger
- // all the above layers to be composited unnecessarily
- if (willBeComposited && !layer->hasOverflowScroll() && !layer->isFixed()) {
-#else
if (willBeComposited) {
-#endif
// Tell the parent it has compositing descendants.
compositingState.m_subtreeIsCompositing = true;
// This layer now acts as the ancestor for kids.