void GraphicsLayerChromium::setContentsVisible(bool contentsVisible) { // Note carefully this early-exit is only correct because we also properly initialize // LayerChromium::isDrawable() whenever m_contentsLayer is set to a new layer in setupContentsLayer(). if (contentsVisible == m_contentsVisible) return; GraphicsLayer::setContentsVisible(contentsVisible); updateLayerIsDrawable(); }
void GraphicsLayer::setContentsVisible(bool contentsVisible) { // Note carefully this early-exit is only correct because we also properly call // WebLayer::setDrawsContent whenever m_contentsLayer is set to a new layer in setupContentsLayer(). if (contentsVisible == m_contentsVisible) return; m_contentsVisible = contentsVisible; updateLayerIsDrawable(); }
void GraphicsLayerBlackBerry::setDrawsContent(bool drawsContent) { // Note carefully this early-exit is only correct because we also properly initialize // LayerWebKitThread::isDrawable() whenever m_contentsLayer is set to a new layer in setupContentsLayer(). if (drawsContent == m_drawsContent) return; GraphicsLayer::setDrawsContent(drawsContent); updateLayerIsDrawable(); }
void GraphicsLayerChromium::setDrawsContent(bool drawsContent) { // Note carefully this early-exit is only correct because we also properly call // WebLayer::setDrawsContent whenever m_contentsLayer is set to a new layer in setupContentsLayer(). if (drawsContent == m_drawsContent) return; GraphicsLayer::setDrawsContent(drawsContent); updateLayerIsDrawable(); }