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

Issue 6731051: Fix up some reference counting when WebPluginImpl::scriptableObject is called. (Closed)

Created:
9 years, 9 months ago by dmichael(do not use this one)
Modified:
9 years, 7 months ago
Reviewers:
brettw, piman
CC:
chromium-reviews, darin-cc_chromium.org, brettw
Visibility:
Public.

Description

Fix up some reference counting when WebPluginImpl::scriptableObject is called. BUG= http://code.google.com/p/chromium-os/issues/detail?id=13605 TEST=Manual testing before/after change. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=79712

Patch Set 1 : '' #

Total comments: 4

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -10 lines) Patch
M webkit/plugins/ppapi/message_channel.h View 1 1 chunk +1 line, -3 lines 0 comments Download
M webkit/plugins/ppapi/message_channel.cc View 1 2 2 chunks +19 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/plugin_object.cc View 1 1 chunk +8 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/ppapi_webplugin_impl.cc View 1 3 chunks +7 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
piman
There's also one more thing to fix to make sure refcount is correct (not your ...
9 years, 9 months ago (2011-03-29 16:19:46 UTC) #1
dmichael(do not use this one)
Sorry for the hasty first CL. I think this is a bit better. http://codereview.chromium.org/6731051/diff/1004/webkit/plugins/ppapi/ppapi_webplugin_impl.cc File ...
9 years, 9 months ago (2011-03-29 16:56:10 UTC) #2
piman
one last thing, then it's good to go http://codereview.chromium.org/6731051/diff/4005/webkit/plugins/ppapi/message_channel.cc File webkit/plugins/ppapi/message_channel.cc (right): http://codereview.chromium.org/6731051/diff/4005/webkit/plugins/ppapi/message_channel.cc#newcode396 webkit/plugins/ppapi/message_channel.cc:396: WebBindings::retainObject(passthrough_object_); ...
9 years, 9 months ago (2011-03-29 17:36:10 UTC) #3
dmichael(do not use this one)
Hopefully this does it. Thanks for finding the issue(s). http://codereview.chromium.org/6731051/diff/4005/webkit/plugins/ppapi/message_channel.cc File webkit/plugins/ppapi/message_channel.cc (right): http://codereview.chromium.org/6731051/diff/4005/webkit/plugins/ppapi/message_channel.cc#newcode396 webkit/plugins/ppapi/message_channel.cc:396: ...
9 years, 9 months ago (2011-03-29 18:03:21 UTC) #4
piman
LGTM, thanks !
9 years, 9 months ago (2011-03-29 18:05:40 UTC) #5
dmichael(do not use this one)
FYI: I was able to manually reproduce the problem before the change, and was unable ...
9 years, 9 months ago (2011-03-29 20:19:00 UTC) #6
piman
9 years, 9 months ago (2011-03-29 20:39:57 UTC) #7
On Tue, Mar 29, 2011 at 1:19 PM, <dmichael@google.com> wrote:

> FYI:  I was able to manually reproduce the problem before the change, and
> was
> unable to reproduce with the change, so it looks like this fixed the
> problem.
> Thanks again for the great diagnosis.

Great, thanks !


>
>
> http://codereview.chromium.org/6731051/
>

Powered by Google App Engine
This is Rietveld 408576698