simon.fraser@apple.com
authored
https://bugs.webkit.org/show_bug.cgi?id=120176 Reviewed by Beth Dakin. Sometimes the repaint counters are not in the corner of the compositing layer; they are either inset, or partially or entirely outside the layer. Fix by making sure that we restore the CGContext before drawing the counter, since the WebCore code may have translated the CTM. The counter-painting code saves and restores the context itself, so this is safe. * platform/graphics/mac/WebLayer.mm: (drawLayerContents): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154469 268f45cc-cd09-0410-ab3c-d52691b4dbfc