diff options
author | Herb Derby <herb@google.com> | 2017-02-10 16:57:57 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-10 22:29:49 +0000 |
commit | 34e91ca5ccd9aa1d13838631212e26ef5fadf71a (patch) | |
tree | b62887355c2c58482207200aece0e59a270afb90 /src | |
parent | 246a3c269d8dc91a47ff27f7b71508bf9e74edf5 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkDraw.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp index d11bcd2f9f..4308000457 100644 --- a/src/core/SkDraw.cpp +++ b/src/core/SkDraw.cpp @@ -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) |