NinePatchLayer should support aperture on edge
commite681b3dc58a974f2810d0009acf9b201699e4f21
authordtrainor@chromium.org <dtrainor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 9 May 2014 01:43:00 +0000 (9 01:43 +0000)
committerdtrainor@chromium.org <dtrainor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 9 May 2014 01:43:00 +0000 (9 01:43 +0000)
tree836e7cbc5c25904cd13d6791672884abcad6977d
parent67ba78af99679f43e3c6e15f6bb3f598d638ea7c
NinePatchLayer should support aperture on edge

It's possible (and happens often at least in Android assets) for the 9-patch aperture to touch
the edge of the bitmap.  This happens when you want to stretch an edge of the image and not
have any 9-patch component there.

BUG=

Review URL: https://codereview.chromium.org/252323002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269139 0039d316-1c4b-4281-b951-d872f2087c98
cc/layers/nine_patch_layer_impl.cc
cc/layers/nine_patch_layer_impl_unittest.cc