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

Issue 322003: Make Pepper NPN variable return a pointer to an allocated... (Closed)

Created:
11 years, 2 months ago by sehr (please use chromium)
Modified:
9 years, 7 months ago
Reviewers:
brettw, jam
CC:
chromium-reviews_googlegroups.com, darin (slow to review), jam
Visibility:
Public.

Description

Make Pepper NPN variable return a pointer to an allocated structure rather than using several variables. Added a stub DestroyRendererContext function. Updates the test to work with the changes. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30213

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -51 lines) Patch
M third_party/npapi/bindings/npapi.h View 1 2 3 4 17 chunks +43 lines, -31 lines 0 comments Download
M webkit/glue/plugins/plugin_host.cc View 1 2 3 4 2 chunks +17 lines, -12 lines 1 comment Download
M webkit/tools/pepper_test_plugin/README View 3 4 1 chunk +5 lines, -1 line 0 comments Download
M webkit/tools/pepper_test_plugin/plugin_object.cc View 3 4 1 chunk +7 lines, -7 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
sehr (please use chromium)
Apropos our discussion with Al about adding further extensions.
11 years, 2 months ago (2009-10-22 18:58:50 UTC) #1
jam
lgtm http://codereview.chromium.org/322003/diff/1/2 File webkit/glue/plugins/plugin_host.cc (right): http://codereview.chromium.org/322003/diff/1/2#newcode866 Line 866: reinterpret_cast<NPPepperExtensions*>(NPN_MemAlloc(sizeof(*extensions))); nit: need two more spaces
11 years, 2 months ago (2009-10-22 20:28:52 UTC) #2
brettw
LGTM. Can you hold off on checking this in? I've been repeatedly sending my patch ...
11 years, 2 months ago (2009-10-22 20:32:19 UTC) #3
sehr (please use chromium)
NP. Will fix and wait for your signal. On Thu, Oct 22, 2009 at 1:32 ...
11 years, 2 months ago (2009-10-22 20:41:25 UTC) #4
sehr (please use chromium)
Fixed and still waiting. http://codereview.chromium.org/322003/diff/1/2 File webkit/glue/plugins/plugin_host.cc (right): http://codereview.chromium.org/322003/diff/1/2#newcode866 Line 866: reinterpret_cast<NPPepperExtensions*>(NPN_MemAlloc(sizeof(*extensions))); On 2009/10/22 20:28:52, ...
11 years, 2 months ago (2009-10-22 22:02:40 UTC) #5
sehr (please use chromium)
11 years, 1 month ago (2009-10-26 21:33:20 UTC) #6
brettw
http://codereview.chromium.org/322003/diff/7002/7003 File webkit/glue/plugins/plugin_host.cc (right): http://codereview.chromium.org/322003/diff/7002/7003#newcode866 Line 866: NPN_MemAlloc(sizeof(*extensions))); I don't understand the memory management around ...
11 years, 1 month ago (2009-10-26 21:43:55 UTC) #7
sehr (please use chromium)
11 years, 1 month ago (2009-10-26 21:58:45 UTC) #8
sehr (please use chromium)
Updated again. http://codereview.chromium.org/322003/diff/7002/7003 File webkit/glue/plugins/plugin_host.cc (right): http://codereview.chromium.org/322003/diff/7002/7003#newcode866 Line 866: NPN_MemAlloc(sizeof(*extensions))); On 2009/10/26 21:43:55, brettw wrote: ...
11 years, 1 month ago (2009-10-26 21:58:51 UTC) #9
sehr (please use chromium)
And after chasing a trybot/chromebot version skew, things seem to be working again... On 2009/10/26 ...
11 years, 1 month ago (2009-10-26 23:10:30 UTC) #10
brettw
11 years, 1 month ago (2009-10-26 23:13:38 UTC) #11
LGTM

http://codereview.chromium.org/322003/diff/9003/6005
File webkit/glue/plugins/plugin_host.cc (right):

http://codereview.chromium.org/322003/diff/9003/6005#newcode866
Line 866: // Make a copy of the canonical function table.
Nit: fix comment (you don't copy anymore).

Powered by Google App Engine
This is Rietveld 408576698