diff options
author | Mike Klein <mtklein@chromium.org> | 2017-02-22 13:00:33 -0500 |
---|---|---|
committer | Mike Klein <mtklein@chromium.org> | 2017-02-22 18:34:51 +0000 |
commit | 416bbd97cee9e221577c729a8072fdb2057cbdf8 (patch) | |
tree | d7f77fd6d5e61714f02c310b751401030879524d /src/core/SkTaskGroup.h | |
parent | d7e86a525224b845f8d5f54ffbd05e54a78e45d9 (diff) |
Switch SkTaskGroup to std::atomic.
No interesting change, just getting on std APIs.
Change-Id: I0f42cbb6854b49a6ae8266e5b92f977d27f4e032
Reviewed-on: https://skia-review.googlesource.com/8860
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/core/SkTaskGroup.h')
-rw-r--r-- | src/core/SkTaskGroup.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/SkTaskGroup.h b/src/core/SkTaskGroup.h index cba9eea366..ff291ea29e 100644 --- a/src/core/SkTaskGroup.h +++ b/src/core/SkTaskGroup.h @@ -8,9 +8,9 @@ #ifndef SkTaskGroup_DEFINED #define SkTaskGroup_DEFINED -#include "SkAtomics.h" #include "SkExecutor.h" #include "SkTypes.h" +#include <atomic> #include <functional> class SkTaskGroup : SkNoncopyable { @@ -37,8 +37,8 @@ public: }; private: - SkAtomic<int32_t> fPending; - SkExecutor& fExecutor; + std::atomic<int32_t> fPending; + SkExecutor& fExecutor; }; #endif//SkTaskGroup_DEFINED |