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:
parent
13f181f28f
commit
7ae918eec7
@ -260,6 +260,9 @@ public:
|
||||
, fGrContext(NULL)
|
||||
#endif
|
||||
{
|
||||
fGridInfo.fMargin.setEmpty();
|
||||
fGridInfo.fOffset.setZero();
|
||||
fGridInfo.fTileInterval.set(1, 1);
|
||||
sk_bzero(fDrawFilters, sizeof(fDrawFilters));
|
||||
fViewport.set(0, 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user