Change SkFlatData to have a sentinel value, allowing the Compare function to
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 10 Jul 2012 19:38:01 +0000 (19:38 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 10 Jul 2012 19:38:01 +0000 (19:38 +0000)
commite2589aeebf321f6d3b5005c19740beacee964be7
tree7bed957e2ba0e3887e5bf06c3ecc154be63b1fd7
parent0665f25b31890cc3923511d7db27de348864bc3c
Change SkFlatData to have a sentinel value, allowing the Compare function to
not need a loop-end-test.
Review URL: https://codereview.appspot.com/6355086

git-svn-id: http://skia.googlecode.com/svn/trunk@4517 2bbb7eff-a529-9590-31e7-b0007b416f81
src/core/SkPictureFlat.cpp
src/core/SkPictureFlat.h
tests/CanvasTest.cpp