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

Issue 10828019: Better handling for NULL PutBytes arg in Pnacl streaming translation thread (Closed)

Created:
8 years, 5 months ago by Derek Schuff
Modified:
8 years, 5 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Better handling for NULL PutBytes arg in Pnacl streaming translation thread. Commit this instead of http://codereview.chromium.org/10834009/ R=jvoung@chromium.org,arthurhsu@chromium.org BUG=none TEST=nacl_integration CID=104221 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148443

Patch Set 1 #

Patch Set 2 : another way #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -11 lines) Patch
M ppapi/native_client/src/trusted/plugin/pnacl_streaming_translate_thread.cc View 1 1 chunk +19 lines, -11 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Derek Schuff
8 years, 5 months ago (2012-07-25 20:21:08 UTC) #1
arthurhsu
On 2012/07/25 20:21:08, dschuff wrote: LGTM
8 years, 5 months ago (2012-07-25 20:25:02 UTC) #2
jvoung (off chromium)
LGTM, can the code path be simpler when bytes is NULL though -- now there's ...
8 years, 5 months ago (2012-07-25 20:31:42 UTC) #3
(google.com) Derek Schuff
maybe. the problem is that we still want to set done_ even if bytes is ...
8 years, 5 months ago (2012-07-25 21:06:39 UTC) #4
Derek Schuff
Here's another way the conditions are simpler, at the cost of duplicating the lock sequence. ...
8 years, 5 months ago (2012-07-25 21:30:04 UTC) #5
jvoung (off chromium)
On 2012/07/25 21:30:04, dschuff wrote: > Here's another way the conditions are simpler, at the ...
8 years, 5 months ago (2012-07-25 21:33:44 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dschuff@chromium.org/10828019/3
8 years, 5 months ago (2012-07-25 21:41:11 UTC) #7
commit-bot: I haz the power
8 years, 5 months ago (2012-07-25 22:58:18 UTC) #8
Change committed as 148443

Powered by Google App Engine
This is Rietveld 408576698