summaryrefslogtreecommitdiffstats
path: root/chrome/common/native_web_keyboard_event_win.cc
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-07 16:15:56 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-07 16:15:56 +0000
commita64691f2882ea7403dc2fcd39f026583e12429fe (patch)
treec63315d6994d84cf4a37ba45df02150cc07634a6 /chrome/common/native_web_keyboard_event_win.cc
parenta2c5a9894846449c6ab3180339557af293975b9a (diff)
downloadchromium_src-a64691f2882ea7403dc2fcd39f026583e12429fe.zip
chromium_src-a64691f2882ea7403dc2fcd39f026583e12429fe.tar.gz
chromium_src-a64691f2882ea7403dc2fcd39f026583e12429fe.tar.bz2
Fix a problem with DrawRectInt at the edges of a ChromeCanvas.
It seems there used to be an old bug in Skia, and we explicitly set a stroke width of 1 instead of 0 to work around it. Internally in Skia this goes down a more complex path, creating a path from the rect, and then filling the path. This was causing problems at the edges of the canvas, for example if you were to DrawRectInt(0, 0, width - 1, height - 1). Switch some SkRects to SkIRects. Internally Skia will still convert them to scalars, but it makes our code a bit cleaner. Review URL: http://codereview.chromium.org/62099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13254 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/native_web_keyboard_event_win.cc')
0 files changed, 0 insertions, 0 deletions