always layout w/ same bounds

BUG=skia:
TBR=

Review URL: https://codereview.chromium.org/1085453002
This commit is contained in:
reed 2015-04-11 19:29:50 -07:00 committed by Commit bot
parent ffab15f60e
commit 9aeb2a1068

View File

@ -168,7 +168,7 @@ protected:
enum {
kMargin = 5,
};
int wrapX = canvas->getDeviceSize().fWidth - kMargin;
int wrapX = 1250 - kMargin;
SkScalar maxH = 0;
canvas->translate(SkIntToScalar(kMargin), SkIntToScalar(kMargin));