Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Unified Diff: src/gpu/GrFontCache.cpp

Issue 793033002: SkRecord: increase min block to 512B, remove max. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: bump Gr Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkVarAlloc.cpp ('k') | tests/VarAllocTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrFontCache.cpp
diff --git a/src/gpu/GrFontCache.cpp b/src/gpu/GrFontCache.cpp
index cd1badabd9a8dc872373cc32b1686dac89f240e1..3e83e6c950ba6927699b17e462f9f4fde33ef35d 100644
--- a/src/gpu/GrFontCache.cpp
+++ b/src/gpu/GrFontCache.cpp
@@ -226,7 +226,8 @@ void GrFontCache::dump() const {
atlas and a position within that texture.
*/
-GrTextStrike::GrTextStrike(GrFontCache* cache, const GrFontDescKey* key) {
+GrTextStrike::GrTextStrike(GrFontCache* cache, const GrFontDescKey* key)
+ : fPool(9/*start allocations at 512 bytes*/) {
fFontScalerKey = key;
fFontScalerKey->ref();
« no previous file with comments | « src/core/SkVarAlloc.cpp ('k') | tests/VarAllocTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698