DescriptionSwitched PostTaskAndReplyRelay to use ThreadTaskRunnerHandle::Get() instead of MessageLoopProxy::current().
This allows PostTaskAndReplyRelay to be used with non-standard implementations of TaskRunner interface. One such example is remoting::PluginThreadTaskRunner that allows to posts tasks to the main thread of Chromoting Host plugin.
BUG=281750
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220518
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|