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

Unified Diff: include/core/SkThreadPriv.h

Issue 820643005: Allow -DGOOGLE3 to bypass our normal platform intrinsic dispatch. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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 | « include/core/SkThread.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkThreadPriv.h
diff --git a/include/core/SkThreadPriv.h b/include/core/SkThreadPriv.h
index c44cca53509015e783e56c79b8cc086bd931f5cd..ab40731dc0997f411ec1ee267abf2bb692275c8c 100644
--- a/include/core/SkThreadPriv.h
+++ b/include/core/SkThreadPriv.h
@@ -18,6 +18,10 @@
*/
static void* sk_atomic_cas(void** addr, void* before, void* after);
-#include SK_ATOMICS_PLATFORM_H
+#ifdef GOOGLE3
+ #include "SkAtomics_sync.h"
+#else
+ #include SK_ATOMICS_PLATFORM_H
+#endif
#endif//SkThreadPriv_DEFINED
« no previous file with comments | « include/core/SkThread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698