summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-29 19:08:33 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-29 19:08:33 +0000
commit519747478eda3c08f5a311041d020f28940559d0 (patch)
tree7a717e77962e49bc25d844cbbc70906ac59fede2 /third_party
parent62e86ba6b589323f70fb435d456d241018db18d3 (diff)
downloadchromium_src-519747478eda3c08f5a311041d020f28940559d0.zip
chromium_src-519747478eda3c08f5a311041d020f28940559d0.tar.gz
chromium_src-519747478eda3c08f5a311041d020f28940559d0.tar.bz2
cc: Fix PictureLayerTilingSetIterator.
If all tilings are higher resolution than the ideal scale, the iterator will not find any tiles. This fixes the bug and adds tests. Also add tests to verify the way in which the iterator chooses its first tiling. Tests: PictureLayerTilingSetTestWithResources.NoTilings PictureLayerTilingSetTestWithResources.OneTiling_Smaller PictureLayerTilingSetTestWithResources.OneTiling_Larger PictureLayerTilingSetTestWithResources.TwoTilings_Smaller PictureLayerTilingSetTestWithResources.TwoTilings_SmallerEqual PictureLayerTilingSetTestWithResources.TwoTilings_LargerEqual PictureLayerTilingSetTestWithResources.TwoTilings_Larger PictureLayerTilingSetTestWithResources.ManyTilings_Equal PictureLayerTilingSetTestWithResources.ManyTilings_NotEqual BUG=172889 R=enne NOTRY=true Review URL: https://chromiumcodereview.appspot.com/12094037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179377 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
0 files changed, 0 insertions, 0 deletions