Bug 126847 - Replace more uses of AtomicallyInitializedStatic with std::call_once
Summary: Replace more uses of AtomicallyInitializedStatic with std::call_once
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-12 11:02 PST by Anders Carlsson
Modified: 2014-01-12 11:40 PST (History)
3 users (show)

See Also:


Attachments
Patch (11.49 KB, patch)
2014-01-12 11:03 PST, Anders Carlsson
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Carlsson 2014-01-12 11:02:31 PST
Replace more uses of AtomicallyInitializedStatic with std::call_once
Comment 1 Anders Carlsson 2014-01-12 11:03:35 PST
Created attachment 220976 [details]
Patch
Comment 2 WebKit Commit Bot 2014-01-12 11:06:05 PST
Attachment 220976 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WTF/ChangeLog', u'Source/WTF/wtf/Forward.h', u'Source/WebCore/ChangeLog', u'Source/WebCore/crypto/CryptoAlgorithmRegistry.cpp', u'Source/WebCore/crypto/CryptoAlgorithmRegistry.h', u'Source/WebCore/inspector/WorkerDebuggerAgent.cpp', u'Source/WebCore/workers/WorkerThread.cpp', '--commit-queue']" exit_code: 1
ERROR: Source/WebCore/crypto/CryptoAlgorithmRegistry.cpp:49:  Missing space before {  [whitespace/braces] [5]
ERROR: Source/WebCore/workers/WorkerThread.cpp:58:  Missing space before {  [whitespace/braces] [5]
ERROR: Source/WebCore/inspector/WorkerDebuggerAgent.cpp:56:  Missing space before {  [whitespace/braces] [5]
Total errors found: 3 in 7 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Anders Carlsson 2014-01-12 11:40:52 PST
Committed r161818: <http://trac.webkit.org/changeset/161818>