-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=77390 <rdar://problem/10767967> Reviewed by Darin Adler. * platform/graphics/ca/mac/TileCache.h: * platform/graphics/ca/mac/TileCache.mm: (WebCore::TileCache::setNeedsDisplayInRect): Make sure to invalidate the repaint counter rect if necessary. (WebCore::TileCache::drawLayer): Draw the repaint counter. (WebCore::TileCache::showRepaintCounter): New function that determines whether we should show repaint counters for the given tile cache. * platform/graphics/ca/mac/WebTileLayer.h: * platform/graphics/ca/mac/WebTileLayer.mm: (-[WebTileLayer incrementRepaintCount]): Add method for getting the repaint count. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106311 268f45cc-cd09-0410-ab3c-d52691b4dbfc
f2826416