Add pause_on_start flag to WorkerProcessMsg_CreateWorker_Params.
DevToolsAgentMsg_PauseWorkerContextOnStart was send to the worker process from the browser process in order to pause the worker context when it starts. Before http://crbug.com/329786 this message was sent between WorkerProcessMsg_CreateWorker and WorkerMsg_StartWorkerContext. So the worker was successfully paused before started. But after http://crbug.com/329786 the worker context may be started before the worker process receives this message because WorkerMsg_StartWorkerContext is no longer sent from the browser process. So we have to add pause_on_start flag to WorkerProcessMsg_CreateWorker_Params to pause the worker context correctly. BUG=329786 Review URL: https://codereview.chromium.org/213423008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260377 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment