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

Issue 569353002: Change SkResourceCache to take a Visitor inside its find(). (Closed)

Created:
6 years, 3 months ago by reed1
Modified:
6 years, 3 months ago
Reviewers:
danakj, mtklein
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Change SkResourceCache to take a Visitor inside its find(). This reverts commit 595aa05efcb504e85358b8d328ac4a9fa1c46e2e. BUG=skia: Committed: https://skia.googlesource.com/skia/+/c90e0149ec530075cae7bf51072a16628311855e

Patch Set 1 #

Total comments: 4

Patch Set 2 : remember to purge after the add #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -176 lines) Patch
M bench/ImageCacheBench.cpp View 3 chunks +7 lines, -3 lines 0 comments Download
M src/core/SkBitmapCache.cpp View 4 chunks +20 lines, -23 lines 0 comments Download
M src/core/SkResourceCache.h View 6 chunks +33 lines, -16 lines 0 comments Download
M src/core/SkResourceCache.cpp View 1 5 chunks +17 lines, -104 lines 0 comments Download
M tests/ImageCacheTest.cpp View 2 chunks +23 lines, -30 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
reed1
https://codereview.chromium.org/569353002/diff/1/src/core/SkResourceCache.cpp File src/core/SkResourceCache.cpp (left): https://codereview.chromium.org/569353002/diff/1/src/core/SkResourceCache.cpp#oldcode257 src/core/SkResourceCache.cpp:257: this->purgeAsNeeded(); The bug in the new CL was that ...
6 years, 3 months ago (2014-09-15 18:15:41 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/569353002/20001
6 years, 3 months ago (2014-09-15 18:20:18 UTC) #4
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 3 months ago (2014-09-15 18:20:20 UTC) #5
danakj
https://codereview.chromium.org/569353002/diff/1/src/core/SkResourceCache.cpp File src/core/SkResourceCache.cpp (left): https://codereview.chromium.org/569353002/diff/1/src/core/SkResourceCache.cpp#oldcode257 src/core/SkResourceCache.cpp:257: this->purgeAsNeeded(); On 2014/09/15 18:15:41, reed1 wrote: > The bug ...
6 years, 3 months ago (2014-09-15 18:21:17 UTC) #6
reed1
https://codereview.chromium.org/569353002/diff/1/src/core/SkResourceCache.cpp File src/core/SkResourceCache.cpp (left): https://codereview.chromium.org/569353002/diff/1/src/core/SkResourceCache.cpp#oldcode257 src/core/SkResourceCache.cpp:257: this->purgeAsNeeded(); On 2014/09/15 18:21:16, danakj wrote: > On 2014/09/15 ...
6 years, 3 months ago (2014-09-15 18:22:49 UTC) #7
danakj
ah, cool it just wasn't uploaded yet. thanks LGTM (but would prefer to keep that ...
6 years, 3 months ago (2014-09-15 18:24:57 UTC) #8
reed1
On 2014/09/15 18:24:57, danakj wrote: > ah, cool it just wasn't uploaded yet. thanks LGTM ...
6 years, 3 months ago (2014-09-15 18:25:34 UTC) #9
danakj
Oh! It acutally went away, sorry I missed that, that's awesome. Thanks :) LGTM+
6 years, 3 months ago (2014-09-15 18:26:05 UTC) #10
mtklein
lgtm
6 years, 3 months ago (2014-09-15 18:38:43 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-15 18:39:48 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as c90e0149ec530075cae7bf51072a16628311855e

Powered by Google App Engine
This is Rietveld 408576698