projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
535776e
)
Fix early out in GrResourceCache2::purgeAsNeeded
author
bsalomon
<bsalomon@google.com>
Wed, 26 Nov 2014 14:06:02 +0000
(06:06 -0800)
committer
Commit bot
<commit-bot@chromium.org>
Wed, 26 Nov 2014 14:06:02 +0000
(06:06 -0800)
BUG=chromium:436846
TBR=robertphillips@google.com
Review URL: https://codereview.chromium.org/
755193003
src/gpu/GrResourceCache2.h
patch
|
blob
|
history
diff --git
a/src/gpu/GrResourceCache2.h
b/src/gpu/GrResourceCache2.h
index
3c5eea5
..
038e3bc
100644
(file)
--- a/
src/gpu/GrResourceCache2.h
+++ b/
src/gpu/GrResourceCache2.h
@@
-167,7
+167,7
@@
private:
/// @}
void purgeAsNeeded() {
- if (fPurging || (fBudgetedCount <= fMaxCount && fBudgetedBytes < fMaxBytes)) {
+ if (fPurging || (fBudgetedCount <= fMaxCount && fBudgetedBytes <
=
fMaxBytes)) {
return;
}
this->internalPurgeAsNeeded();