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

Issue 2862002: Implement more of Flush properly. This adds support for waiting on the messag... (Closed)

Created:
10 years, 6 months ago by brettw
Modified:
9 years, 7 months ago
CC:
chromium-reviews, jam+cc_chromium.org, jam, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Implement more of Flush properly. This adds support for waiting on the message loop so we can now enforce that there is only one pending Flush at a time. Also removes the ability to have multiple flushes pending at the same time. TEST=covered by ppapi unit test BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49899

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -49 lines) Patch
M DEPS View 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/pepper_devices_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/pepper_plugin_delegate_impl.h View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/renderer/pepper_plugin_delegate_impl.cc View 1 2 2 chunks +50 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.h View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 5 chunks +22 lines, -12 lines 0 comments Download
M webkit/glue/plugins/pepper_device_context_2d.h View 1 2 4 chunks +23 lines, -8 lines 0 comments Download
M webkit/glue/plugins/pepper_device_context_2d.cc View 1 2 8 chunks +45 lines, -23 lines 0 comments Download
M webkit/glue/plugins/pepper_plugin_delegate.h View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M webkit/glue/plugins/pepper_plugin_instance.cc View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M webkit/glue/plugins/pepper_plugin_module.cc View 1 2 2 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
brettw
I'll also pull ppapi when I submit this.
10 years, 6 months ago (2010-06-15 00:56:52 UTC) #1
darin (slow to review)
http://codereview.chromium.org/2862002/diff/7002/11001 File chrome/renderer/pepper_plugin_delegate_impl.cc (right): http://codereview.chromium.org/2862002/diff/7002/11001#newcode72 chrome/renderer/pepper_plugin_delegate_impl.cc:72: if (active_instances_.find(*i) != active_instances_.end()) couldn't the memory address of ...
10 years, 6 months ago (2010-06-15 15:45:50 UTC) #2
brettw
Uploaded a new patch with DEPS change and a comment clarifying why what we're doing ...
10 years, 6 months ago (2010-06-15 16:38:29 UTC) #3
darin (slow to review)
10 years, 6 months ago (2010-06-15 17:12:13 UTC) #4
OK, LGTM

On Tue, Jun 15, 2010 at 9:38 AM, <brettw@chromium.org> wrote:

> Uploaded a new patch with DEPS change and a comment clarifying why what
> we're
> doing is OK. I didn't modify the comment for the "oldstyle" case since I
> want to
> delete it soon.
>
>
> http://codereview.chromium.org/2862002/show
>

Powered by Google App Engine
This is Rietveld 408576698