OSDN Git Service

Cherry-pick fix for rect sizes from master - do not merge
authorBen Murdoch <benm@google.com>
Thu, 15 Sep 2011 11:01:40 +0000 (12:01 +0100)
committerBart Sears <bsears@google.com>
Tue, 20 Sep 2011 01:40:06 +0000 (18:40 -0700)
commit5cfbc58a9c1b7639519272029d1d3aa452723685
treeefbdd2b2b8a2d0b974518e225cd5f6b920ab1840
parentab7f5033f435437499cefc7066915f88a7f1cae9
Cherry-pick fix for rect sizes from master - do not merge

Fix invalidation rect sizes

When splitting the invalidation rect over the tiles that it
invalidates, we need to use the tile's offset to calculate the
top/left co-ordinate in the case that the inval rect only covers
part of the tile.

(See change Ie3b4be68 for the regression)

Bug: 4965594

Cherry-pick of: 1672c0ff79526ae74ab745724fa57c877811d071

Change-Id: I6a18f1d3d223f5389b0f4f35fab9e579f499e9da
Source/WebKit/android/jni/PictureSet.cpp