DescriptionServiceWorker: Initialize EmbeddedWorkerInstanceClientImpl::wrapper_
This is a follow-up patch for https://codereview.chromium.org/2498573002
EmbeddedWorkerInstanceClientImpl::wrapper_ should be initialized with nullptr
because EmbeddedWorkerInstance::StopWorker() can be called before
EmbeddedWorkerInstance::StartWorker() and uninitialized |wrapper_| causes a
crash.
This is possible when EmbeddedWorkerInstance::StopWorker() is called between
ProcessAllocated() and SendStartWorker() on EmbeddedWorkerInstance::StartWorker.
BUG=664014
Committed: https://crrev.com/3cd90229cb808989ac8a468beb93ea5f372fefd6
Cr-Commit-Position: refs/heads/master@{#431833}
Patch Set 1 #
Total comments: 2
Patch Set 2 : update comments #
Messages
Total messages: 17 (10 generated)
|