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

Unified Diff: include/core/SkPixelRef.h

Issue 955803002: SkTRacy<T> -> SkAtomic<T> (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: great warning Created 5 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
Index: include/core/SkPixelRef.h
diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h
index f859642921c4437d91e59ae0cfd5ce69f78bfc80..5027a353294c3546599970ae67dd5ab745e90e27 100644
--- a/include/core/SkPixelRef.h
+++ b/include/core/SkPixelRef.h
@@ -8,13 +8,13 @@
#ifndef SkPixelRef_DEFINED
#define SkPixelRef_DEFINED
+#include "SkAtomics.h"
#include "SkBitmap.h"
-#include "SkDynamicAnnotations.h"
+#include "SkImageInfo.h"
#include "SkMutex.h"
#include "SkRefCnt.h"
-#include "SkString.h"
-#include "SkImageInfo.h"
#include "SkSize.h"
+#include "SkString.h"
#include "SkTDArray.h"
//#define xed
@@ -313,8 +313,8 @@ private:
LockRec fRec;
int fLockCount;
- mutable SkTRacy<uint32_t> fGenerationID;
- mutable SkTRacy<bool> fUniqueGenerationID;
+ mutable SkAtomic<uint32_t> fGenerationID;
+ mutable SkAtomic<bool> fUniqueGenerationID;
#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
const uint32_t fStableID;
#endif

Powered by Google App Engine
This is Rietveld 408576698