void GraphicsLayerAndroid::syncCompositingState() { for (unsigned int i = 0; i < m_children.size(); i++) m_children[i]->syncCompositingState(); syncCompositingStateForThisLayerOnly(); }
void WebGraphicsLayer::syncCompositingState(const FloatRect& rect) { for (size_t i = 0; i < children().size(); ++i) children()[i]->syncCompositingState(rect); if (WebGraphicsLayer* mask = toWebGraphicsLayer(maskLayer())) mask->syncCompositingStateForThisLayerOnly(); if (WebGraphicsLayer* replica = toWebGraphicsLayer(replicaLayer())) replica->syncCompositingStateForThisLayerOnly(); syncCompositingStateForThisLayerOnly(); }