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

Unified Diff: include/private/SkOnce.h

Issue 1734383002: Modernize SkSpinlock. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: std::atomic<bool> Created 4 years, 10 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 | « dm/DM.cpp ('k') | include/private/SkSpinlock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/private/SkOnce.h
diff --git a/include/private/SkOnce.h b/include/private/SkOnce.h
index a3ef4d6713ca6c726ffa9b2d5419e90c839c3070..5434d9d7d9d37b80d7c1485285c85ed1ebf3577a 100644
--- a/include/private/SkOnce.h
+++ b/include/private/SkOnce.h
@@ -59,7 +59,7 @@ public:
private:
bool fDone;
- SkPODSpinlock fSpinlock;
+ SkSpinlock fSpinlock;
};
// We've pulled a pretty standard double-checked locking implementation apart
« no previous file with comments | « dm/DM.cpp ('k') | include/private/SkSpinlock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698