[webkit-help] Question about WebKit code in paintContents()

hap 497 hap497 at gmail.com
Thu Feb 11 11:34:42 PST 2010


In various WebKit code space, (e.g. Frame::markAllMatchesForText()), I
see it often calls
paintContents() like this:

   GraphicsContext context((PlatformGraphicsContext*)0);
   m_view->paintContents(&context, visibleRect);

What is the purpose of calling paintContents() when the
graphicsContext is set to paintingDisabled?

More information about the webkit-help mailing list