diff options
author | joshualitt <joshualitt@chromium.org> | 2016-01-05 08:07:18 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-05 08:07:18 -0800 |
commit | 22c6f5c731cf7895134e4d78d5d8ad807719877f (patch) | |
tree | f3296676978a64fcb551bfb27303810529158c8e /src/gpu/GrMemoryPool.h | |
parent | e56c626a441b62880df201009aa3c8afec9587a8 (diff) |
Return 'correct' size from GrMemoryPool
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1552283002
Review URL: https://codereview.chromium.org/1552283002
Diffstat (limited to 'src/gpu/GrMemoryPool.h')
-rw-r--r-- | src/gpu/GrMemoryPool.h | 2 |
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; } |