Change SWServer::claim to set the iterator value as soon as possible
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 31 Jan 2018 22:40:10 +0000 (22:40 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 31 Jan 2018 22:40:10 +0000 (22:40 +0000)
commit79ce60ada4a717046e4d4511867f9b9ae9d946cf
treebc38bcb97c10c46b0c10fc5ff727100a9f571fba
parent4fa3c1166efe9bcd0078bfcd96a5dae6a8fc9b1e
Change SWServer::claim to set the iterator value as soon as possible
https://bugs.webkit.org/show_bug.cgi?id=182337

Patch by Youenn Fablet <youenn@apple.com> on 2018-01-31
Reviewed by Chris Dumez.

No change of behavior, this is a "let's go safe way" fix.

* workers/service/server/SWServer.cpp:
(WebCore::SWServer::claim):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@227932 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/workers/service/server/SWServer.cpp