Exemplo n.º 1
0
void ImagePainter::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
{
    m_renderImage.RenderReplaced::paint(paintInfo, paintOffset);

    if (paintInfo.phase == PaintPhaseOutline)
        paintAreaElementFocusRing(paintInfo);
}
Exemplo n.º 2
0
void ImagePainter::paint(const PaintInfo& paintInfo,
                         const LayoutPoint& paintOffset) {
  m_layoutImage.LayoutReplaced::paint(paintInfo, paintOffset);

  if (paintInfo.phase == PaintPhaseOutline)
    paintAreaElementFocusRing(paintInfo, paintOffset);
}