summaryrefslogtreecommitdiffstats
path: root/webkit/database/database_tracker.cc
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-09 22:38:35 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-09 22:38:35 +0000
commit4f1b94fe2cb294b919d6a761f0accc155e7a8b8b (patch)
tree3f6932403519d178b7f8afca465f7a2a87c9e517 /webkit/database/database_tracker.cc
parentafd20b36dbca10b424d974f50c163879b2afb137 (diff)
downloadchromium_src-4f1b94fe2cb294b919d6a761f0accc155e7a8b8b.zip
chromium_src-4f1b94fe2cb294b919d6a761f0accc155e7a8b8b.tar.gz
chromium_src-4f1b94fe2cb294b919d6a761f0accc155e7a8b8b.tar.bz2
BackingStoreMac scrolling update and DCHECKs.
Functional change: when a CGBitmapContext is in use instead of a CGLayer, scroll. CGLayerGetSize(NULL) was just returning (0.0, 0.0), which was causing no scrolling. Functional change: avoid entering the scroll blitter if: (0 < abs(dx) < size_.width() and abs(dy) >= size_.height()) or (0 < abs(dy) < size_.height() and abs(dx) >= size_.width()) Non-functional change: DCHECK in a few spots that exactly one of a CGLayer and a CGBitmapContext is present. BUG=26989 TEST=Things should paint when scrolling. Review URL: http://codereview.chromium.org/376028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31493 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/database/database_tracker.cc')
0 files changed, 0 insertions, 0 deletions