diff options
author | caryclark@google.com <caryclark@google.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2012-01-05 18:08:58 +0000 |
---|---|---|
committer | caryclark@google.com <caryclark@google.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2012-01-05 18:08:58 +0000 |
commit | 99c85b058cbe385020b61f459afd776194b6ff3a (patch) | |
tree | e74f56433e16227f6e4df92c02f35fe05183c6b9 /third_party/WebKit/LayoutTests/compositing/scaling/tiled-layer-recursion.html | |
parent | 81209356b8bef126c5d86d8e86361ca4b0271eed (diff) | |
download | chromium_src-99c85b058cbe385020b61f459afd776194b6ff3a.zip chromium_src-99c85b058cbe385020b61f459afd776194b6ff3a.tar.gz chromium_src-99c85b058cbe385020b61f459afd776194b6ff3a.tar.bz2 |
[Skia Mac] Rounded bezel style button needs one more local graphics context to scale
https://bugs.webkit.org/show_bug.cgi?id=75623
http://code.google.com/p/chromium/issues/detail?id=108749
In paintButton(), the local context is set up first, and later the context is
scaled if there's a zoomFactor. Skia creates the CoreGraphics context to draw the
button into without that scale factor. To fix this, another local context is added
after the parameter context scale, before the button draw. The first local context
is still required to restore the parameter context state.
Reviewed by Stephen White.
* platform/chromium/ThemeChromiumMac.mm:
(WebCore::paintButton):
git-svn-id: svn://svn.chromium.org/blink/trunk@104173 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/compositing/scaling/tiled-layer-recursion.html')
0 files changed, 0 insertions, 0 deletions