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

Unified Diff: src/ports/SkThread_none.cpp

Issue 18770007: Add a 'unique' method to SkRefCnt, document the usage, and add support. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 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
Index: src/ports/SkThread_none.cpp
===================================================================
--- src/ports/SkThread_none.cpp (revision 10052)
+++ src/ports/SkThread_none.cpp (working copy)
@@ -36,6 +36,10 @@
}
void sk_membar_aquire__after_atomic_conditional_inc() { }
+int32_t sk_atomic_unprotected_read(const volatile int32_t & x) {
+ return x;
+}
+
SkMutex::SkMutex() {}
SkMutex::~SkMutex() {}

Powered by Google App Engine
This is Rietveld 408576698