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

Issue 172133002: gin: Make it possible to use gin array buffers when running on top of blink (Closed)

Created:
6 years, 10 months ago by jochen (gone - plz use gerrit)
Modified:
6 years, 10 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

gin: Make it possible to use gin array buffers when running on top of blink This approach won't let use share an array buffer with blink, however, it's good enough for a mojo js app. For gin::Wrappable objects that want to interact with blink APIs, they need to provide a custom converter to and from WebArrayBuffer(View) BUG=none R=abarth@chromium.org, dslomov@chromium.org, sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252190

Patch Set 1 #

Total comments: 1

Patch Set 2 : updates #

Patch Set 3 : updates #

Patch Set 4 : updates #

Total comments: 1

Patch Set 5 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -20 lines) Patch
M gin/array_buffer.cc View 1 2 3 4 3 chunks +21 lines, -8 lines 0 comments Download
M gin/isolate_holder.cc View 2 chunks +11 lines, -4 lines 0 comments Download
M gin/per_isolate_data.h View 3 chunks +3 lines, -1 line 0 comments Download
M gin/per_isolate_data.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M gin/public/isolate_holder.h View 3 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
jochen (gone - plz use gerrit)
6 years, 10 months ago (2014-02-19 09:23:32 UTC) #1
Dmitry Lomov (no reviews)
lgtm
6 years, 10 months ago (2014-02-19 12:27:36 UTC) #2
abarth-chromium
LGTM https://codereview.chromium.org/172133002/diff/1/gin/array_buffer.cc File gin/array_buffer.cc (right): https://codereview.chromium.org/172133002/diff/1/gin/array_buffer.cc#newcode85 gin/array_buffer.cc:85: array->GetAlignedPointerFromInternalField(kBufferViewPrivateIndex))); This CL is a good step, but ...
6 years, 10 months ago (2014-02-19 15:52:55 UTC) #3
jochen (gone - plz use gerrit)
PTAL
6 years, 10 months ago (2014-02-19 16:04:53 UTC) #4
jochen (gone - plz use gerrit)
I install a WrapperInfo in the correct slot now (blink already does this), so we ...
6 years, 10 months ago (2014-02-19 16:49:43 UTC) #5
abarth-chromium
LGTM https://codereview.chromium.org/172133002/diff/160001/gin/array_buffer.cc File gin/array_buffer.cc (right): https://codereview.chromium.org/172133002/diff/160001/gin/array_buffer.cc#newcode91 gin/array_buffer.cc:91: << "Cannot mix blink and gin ArrayBuffers"; CHECK_EQ ...
6 years, 10 months ago (2014-02-19 18:59:57 UTC) #6
jochen (gone - plz use gerrit)
The CQ bit was checked by jochen@chromium.org
6 years, 10 months ago (2014-02-19 20:22:13 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/172133002/240001
6 years, 10 months ago (2014-02-19 20:26:38 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/172133002/240001
6 years, 10 months ago (2014-02-20 00:23:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/172133002/240001
6 years, 10 months ago (2014-02-20 03:08:12 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/172133002/240001
6 years, 10 months ago (2014-02-20 05:23:48 UTC) #11
jochen (gone - plz use gerrit)
6 years, 10 months ago (2014-02-20 08:24:08 UTC) #12
Message was sent while issue was closed.
Committed patchset #5 manually as r252190 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698