Remove unused field, and use official size.

TBR=reed@google.com

Change-Id: I15fd225651142eefb0eb94a4f1dde55b13abe0aa
Reviewed-on: https://skia-review.googlesource.com/8343
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Herb Derby <herb@google.com>
This commit is contained in:
Herb Derby 2017-02-10 16:57:57 -05:00 committed by Skia Commit-Bot
parent 246a3c269d
commit 34e91ca5cc

View File

@ -68,12 +68,10 @@ public:
}
private:
// Owned by fAllocator, which will handle the delete.
// Owned by fAlloc, which will handle the delete.
SkBlitter* fBlitter;
SkTBlitterAllocator fAllocator;
// FIXME - pick a good inline and number.
SkArenaAlloc fAlloc{1024};
SkArenaAlloc fAlloc{kSkBlitterContextSize};
};
#define SkAutoBlitterChoose(...) SK_REQUIRE_LOCAL_VAR(SkAutoBlitterChoose)