commit | 01f797fcb0c7497d3d62af84516f489c83cd1634 | [log] [tgz] |
---|---|---|
author | mtklein <mtklein@chromium.org> | Mon Feb 09 14:13:44 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Mon Feb 09 14:13:44 2015 -0800 |
tree | 734008e1892c121cc446971649dc914724729d77 | |
parent | d5d27d9b146731b871b1bcc6d6de36fba2d5ea44 [diff] |
SkAtomics: add asserts for valid memory orders. Taken from http://en.cppreference.com/w/cpp/atomic/atomic and https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html, which agree. No public API changes. TBR=reed@google.com BUG=skia: Review URL: https://codereview.chromium.org/868843003