|
|
Chromium Code Reviews
DescriptionUse loading task quue in RendererPpapiHost
As a part of effort to post tasks to correct scheduler task queues instead
of default one, use frame-specific loading task runner in RendererPpapiHost.
BUG=676805
Patch Set 1 #Patch Set 2 : Rebased #
Total comments: 1
Messages
Total messages: 19 (11 generated)
The CQ bit was checked by altimin@chromium.org to run a CQ dry run
Description was changed from ========== Use loading task quue in RendererPpapiHost As a part of effort to post tasks to correct scheduler task queues instead of default one, use frame-specific loading task runner in RendererPpapiHost. BUG=676805 ========== to ========== Use loading task quue in RendererPpapiHost As a part of effort to post tasks to correct scheduler task queues instead of default one, use frame-specific loading task runner in RendererPpapiHost. BUG=676805 ==========
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by altimin@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
altimin@chromium.org changed reviewers: + raymes@chromium.org
PTAL
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Hey - unfortunately I don't know enough about task runners and there's not enough context for me in the bug (design doc, etc.) to understand what you're trying to do and whether this is right. It may be good to have someone who is familiar with the refactoring you are doing to review this change and then I can rubberstamp it. It may also be good to add more detail to the bug in a design doc. Thanks!
altimin@chromium.org changed reviewers: + alexclarke@chromium.org
+alexclarke@ as an expert in scheduling PTAL
https://codereview.chromium.org/2644583003/diff/20001/content/renderer/pepper... File content/renderer/pepper/renderer_ppapi_host_impl.cc (right): https://codereview.chromium.org/2644583003/diff/20001/content/renderer/pepper... content/renderer/pepper/renderer_ppapi_host_impl.cc:265: render_frame->GetLoadingTaskRunner()->PostTask( So in theory I think that's a reasonable change. The tricky bit (and where I don't know enough about PPAPI to be sure) is there might be some ordering dependencies. E.g. perhaps some of these need to change as well: https://cs.chromium.org/search/?q=PostTask+f:renderer+f:pepper&sq=package:chr... You might just have to try this and see. It's a simple change so a revert if needed is easy.
lgtm
> So in theory I think that's a reasonable change. The tricky bit (and where I > don't know enough about PPAPI to be sure) is there might be some ordering > dependencies. Pepper does have complex ordering requirements due to synchronous messages and handling of input events. I don't know how those play into this CL though. piman@ would know but he's on leave. Do you think it's still worth landing this as a test? I would be a little worried about subtle bugs.
On 2017/01/23 22:47:06, raymes wrote: > > So in theory I think that's a reasonable change. The tricky bit (and where I > > don't know enough about PPAPI to be sure) is there might be some ordering > > dependencies. > > Pepper does have complex ordering requirements due to synchronous messages and > handling of input events. I don't know how those play into this CL though. > piman@ would know but he's on leave. Do you think it's still worth landing this > as a test? I would be a little worried about subtle bugs. I think I'll wait for piman@ and will try to refactor all usages of ThreadTaskRunnerHandle::Get() in content/renderer/pepper.
Thanks, sgtm |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
