DescriptionAdd TaskScheduler initialization arguments to ChildProcess.
Previously, the constructor of ChildProcess called
ChildProcess::InitializeTaskScheduler() to initialize TaskScheduler.
RenderProcessImpl overrode this method to initialize TaskScheduler
with custom arguments. Unfortunately, the constructor of a base
class cannot call methods from a derived class.
This CL removes the virtual ChildProcess::InitializeTaskScheduler()
method. RnederProcessImpl passes its custom TaskScheduler
initialization arguments to the constructor of ChildProcess.
BUG=664996
Review-Url: https://codereview.chromium.org/2687903003
Cr-Commit-Position: refs/heads/master@{#449785}
Committed: https://chromium.googlesource.com/chromium/src/+/31cc6f8573abb454414ab2bdd26b07980eac2f8c
Patch Set 1 #
Total comments: 4
Patch Set 2 : CR gab #8 + fix build errors #Patch Set 3 : default #
Depends on Patchset: Messages
Total messages: 28 (19 generated)
|