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

Issue 12087088: Fix Socket_WriteList to use the offset for external byte arrays. (Closed)

Created:
7 years, 10 months ago by Mads Ager (google)
Modified:
7 years, 10 months ago
Reviewers:
Søren Gjesse
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix Socket_WriteList to use the offset for external byte arrays. R=sgjesse@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=17852

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M runtime/bin/socket.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Mads Ager (google)
7 years, 10 months ago (2013-01-30 16:00:50 UTC) #1
Søren Gjesse
LGTM! https://codereview.chromium.org/12087088/diff/1/runtime/bin/socket.cc File runtime/bin/socket.cc (right): https://codereview.chromium.org/12087088/diff/1/runtime/bin/socket.cc#newcode189 runtime/bin/socket.cc:189: buffer = static_cast<void*>((static_cast<char*>(buffer) + offset)); uint8_t instead of ...
7 years, 10 months ago (2013-01-30 16:11:30 UTC) #2
Mads Ager (google)
7 years, 10 months ago (2013-01-30 16:14:25 UTC) #3
https://codereview.chromium.org/12087088/diff/1/runtime/bin/socket.cc
File runtime/bin/socket.cc (right):

https://codereview.chromium.org/12087088/diff/1/runtime/bin/socket.cc#newcode189
runtime/bin/socket.cc:189: buffer =
static_cast<void*>((static_cast<char*>(buffer) + offset));
On 2013/01/30 16:11:30, Søren Gjesse wrote:
> uint8_t instead of char*.

Done.

Powered by Google App Engine
This is Rietveld 408576698