void GraphicsLayerChromium::setDebugBorder(const Color& color, float borderWidth) { if (color.isValid()) { setLayerBorderColor(*m_layer, color); m_layer->setBorderWidth(borderWidth); } else { clearBorderColor(*m_layer); m_layer->setBorderWidth(0); } }
void GraphicsLayerCACF::setDebugBorder(const Color& color, float borderWidth) { if (color.isValid()) { setLayerBorderColor(m_layer.get(), color); m_layer->setBorderWidth(borderWidth); } else { clearBorderColor(m_layer.get()); m_layer->setBorderWidth(0); } }