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

Issue 12398021: If Ashmem cache fails pinCache, do not reallocate. (Closed)

Created:
7 years, 9 months ago by scroggo
Modified:
7 years, 9 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

If Ashmem cache fails pinCache, do not reallocate. Committed: https://code.google.com/p/skia/source/detail?r=7973

Patch Set 1 #

Patch Set 2 : Fix an old type #

Total comments: 2

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -19 lines) Patch
M include/lazy/SkImageCache.h View 1 2 chunks +6 lines, -6 lines 0 comments Download
M src/lazy/SkLazyPixelRef.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M src/lazy/SkLruImageCache.cpp View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M src/ports/SkAshmemImageCache.cpp View 4 chunks +18 lines, -12 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
scroggo
7 years, 9 months ago (2013-03-04 20:56:44 UTC) #1
reed1
lgtm w/ question https://codereview.chromium.org/12398021/diff/2001/src/ports/SkAshmemImageCache.cpp File src/ports/SkAshmemImageCache.cpp (right): https://codereview.chromium.org/12398021/diff/2001/src/ports/SkAshmemImageCache.cpp#newcode53 src/ports/SkAshmemImageCache.cpp:53: SkASSERT(pRec->fFD != -1); What is the ...
7 years, 9 months ago (2013-03-04 21:05:34 UTC) #2
scroggo
https://codereview.chromium.org/12398021/diff/2001/src/ports/SkAshmemImageCache.cpp File src/ports/SkAshmemImageCache.cpp (right): https://codereview.chromium.org/12398021/diff/2001/src/ports/SkAshmemImageCache.cpp#newcode53 src/ports/SkAshmemImageCache.cpp:53: SkASSERT(pRec->fFD != -1); On 2013/03/04 21:05:35, reed1 wrote: > ...
7 years, 9 months ago (2013-03-04 21:10:47 UTC) #3
reed1
got it. perhaps we can check it inside an assert (also documents this assumption).
7 years, 9 months ago (2013-03-04 21:18:13 UTC) #4
scroggo
On 2013/03/04 21:18:13, reed1 wrote: > got it. perhaps we can check it inside an ...
7 years, 9 months ago (2013-03-04 21:31:05 UTC) #5
scroggo
7 years, 9 months ago (2013-03-04 21:38:55 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r7973 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698