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

Issue 1327313002: make a shallow-copy so we don't get racy trying to lock/unlock our private bitmap (Closed)

Created:
5 years, 3 months ago by reed1
Modified:
5 years, 3 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

make a shallow-copy so we don't get racy trying to lock/unlock our private bitmap BUG=529995 NOTREECHECKS=True Committed: https://skia.googlesource.com/skia/+/a10bb86da82449b8756da5d00384993351f56d1d

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M src/image/SkImage_Raster.cpp View 1 chunk +5 lines, -2 lines 1 comment Download

Messages

Total messages: 11 (4 generated)
reed1
PTAL
5 years, 3 months ago (2015-09-10 18:30:05 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1327313002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1327313002/1
5 years, 3 months ago (2015-09-10 18:30:58 UTC) #4
robertphillips
lgtm
5 years, 3 months ago (2015-09-10 18:36:03 UTC) #5
f(malita)
LGTM Nit: can you link to the chromium bug? https://codereview.chromium.org/1327313002/diff/1/src/image/SkImage_Raster.cpp File src/image/SkImage_Raster.cpp (right): https://codereview.chromium.org/1327313002/diff/1/src/image/SkImage_Raster.cpp#newcode172 src/image/SkImage_Raster.cpp:172: ...
5 years, 3 months ago (2015-09-10 18:36:37 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1327313002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1327313002/1
5 years, 3 months ago (2015-09-10 18:37:54 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://skia.googlesource.com/skia/+/a10bb86da82449b8756da5d00384993351f56d1d
5 years, 3 months ago (2015-09-10 18:39:01 UTC) #10
reed1
5 years, 3 months ago (2015-09-10 18:40:06 UTC) #11
Message was sent while issue was closed.
Other methods area already safe (also my making shallow copies):

- getROPixels() returns a copy
- onReadPixels() makes a shallowCopy

Powered by Google App Engine
This is Rietveld 408576698