Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: src/core/SkThread.h

Issue 300843012: Revert of Spin off just SkLazyFnPtr from 305513002. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkLazyFnPtr.h ('k') | src/core/SkUtils.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkThread.h
diff --git a/src/core/SkThread.h b/src/core/SkThread.h
index ad7d6b009e3a7b35ccb80d5a088e5dd97a658fdb..c8cd4e9112aad6492ece41d40c06ac8d628a8b37 100644
--- a/src/core/SkThread.h
+++ b/src/core/SkThread.h
@@ -32,12 +32,6 @@
* This must act as a release (SL/S) memory barrier and as a compiler barrier.
*/
static bool sk_atomic_cas(int32_t* addr, int32_t before, int32_t after);
-
-/** Atomic compare and set, for pointers.
- * If *addr == before, set *addr to after. Always returns previous value of *addr.
- * This must act as a compiler barrier.
- */
-static void* sk_atomic_cas(void** addr, void* before, void* after);
/** If sk_atomic_dec does not act as an acquire (L/SL) barrier,
* this must act as an acquire (L/SL) memory barrier and as a compiler barrier.
« no previous file with comments | « src/core/SkLazyFnPtr.h ('k') | src/core/SkUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698