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

Unified Diff: src/core/SkVarAlloc.h

Issue 722293003: Cap SkVarAlloc's desired block at 64K. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | src/core/SkVarAlloc.cpp » ('j') | src/core/SkVarAlloc.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkVarAlloc.h
diff --git a/src/core/SkVarAlloc.h b/src/core/SkVarAlloc.h
index 19b2d75e76ca2467eb1a38eb55df269b0a548049..5cbffdc6ef8935c9071202d716699385ee913ee2 100644
--- a/src/core/SkVarAlloc.h
+++ b/src/core/SkVarAlloc.h
@@ -28,7 +28,7 @@ private:
char* fByte;
unsigned fRemaining;
- unsigned fLgMinSize;
+ unsigned fLgMinSize; // Can get away with 4 bits, always in [4, 16].
reed1 2014/11/13 21:40:07 not sure what the comment means 4 bits in 4..16 ?
struct Block;
Block* fBlock;
« no previous file with comments | « no previous file | src/core/SkVarAlloc.cpp » ('j') | src/core/SkVarAlloc.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698