aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrMemoryPool.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2016-01-05 08:07:18 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-01-05 08:07:18 -0800
commit22c6f5c731cf7895134e4d78d5d8ad807719877f (patch)
treef3296676978a64fcb551bfb27303810529158c8e /src/gpu/GrMemoryPool.h
parente56c626a441b62880df201009aa3c8afec9587a8 (diff)
Return 'correct' size from GrMemoryPool
Diffstat (limited to 'src/gpu/GrMemoryPool.h')
-rw-r--r--src/gpu/GrMemoryPool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrMemoryPool.h b/src/gpu/GrMemoryPool.h
index 4de641d9fc..5e38a29c04 100644
--- a/src/gpu/GrMemoryPool.h
+++ b/src/gpu/GrMemoryPool.h
@@ -44,7 +44,7 @@ public:
bool isEmpty() const { return fTail == fHead && !fHead->fLiveCount; }
/**
- * Returns the total allocated size of the GrMemoryPool
+ * Returns the total allocated size of the GrMemoryPool minus any preallocated amount
*/
size_t size() const { return fSize; }