Move initialization to PictureRenderer ctor

https://codereview.appspot.com/7435052/



git-svn-id: http://skia.googlecode.com/svn/trunk@7942 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
robertphillips@google.com 2013-03-02 17:45:27 +00:00
parent 13f181f28f
commit 7ae918eec7

View File

@ -260,6 +260,9 @@ public:
, fGrContext(NULL) , fGrContext(NULL)
#endif #endif
{ {
fGridInfo.fMargin.setEmpty();
fGridInfo.fOffset.setZero();
fGridInfo.fTileInterval.set(1, 1);
sk_bzero(fDrawFilters, sizeof(fDrawFilters)); sk_bzero(fDrawFilters, sizeof(fDrawFilters));
fViewport.set(0, 0); fViewport.set(0, 0);
} }