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

Issue 2685743002: V8ValueConverterImpl: Use V8 to copy from array buffers. (Closed)

Created:
3 years, 10 months ago by jbroman
Modified:
3 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, Devlin
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

V8ValueConverterImpl: Use V8 to copy from array buffers. It is no longer necessary to route through Blink and externalize them. This has the side effect of not requiring all of the Blink machinery to be set up in order to convert binary values from V8. Review-Url: https://codereview.chromium.org/2685743002 Cr-Commit-Position: refs/heads/master@{#448997} Committed: https://chromium.googlesource.com/chromium/src/+/54311d097280fedbf6d8e3cb310898461d1a3df1

Patch Set 1 #

Patch Set 2 : also the reverse direction, and a simple unit test #

Patch Set 3 : plus a DCHECK that matches the one in WebArrayBufferConverter::toV8Value #

Patch Set 4 : fix dcheck #

Total comments: 1

Patch Set 5 : correct dcheck, again :( #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -29 lines) Patch
M content/child/v8_value_converter_impl.cc View 1 2 3 4 3 chunks +17 lines, -27 lines 0 comments Download
M content/child/v8_value_converter_impl_unittest.cc View 1 1 chunk +23 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (21 generated)
jbroman
This is shorter, simpler, and doesn't force the buffer to be externalized (which isn't necessary ...
3 years, 10 months ago (2017-02-07 23:22:03 UTC) #16
jochen (gone - plz use gerrit)
lgtm please format the CL description to be less than 80c
3 years, 10 months ago (2017-02-08 08:57:24 UTC) #19
jbroman
On 2017/02/08 at 08:57:24, jochen wrote: > lgtm > > please format the CL description ...
3 years, 10 months ago (2017-02-08 15:06:35 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2685743002/90001
3 years, 10 months ago (2017-02-08 15:06:52 UTC) #23
commit-bot: I haz the power
3 years, 10 months ago (2017-02-08 15:12:59 UTC) #26
Message was sent while issue was closed.
Committed patchset #5 (id:90001) as
https://chromium.googlesource.com/chromium/src/+/54311d097280fedbf6d8e3cb3108...

Powered by Google App Engine
This is Rietveld 408576698