| Index: src/pathops/SkOpContour.h
|
| diff --git a/src/pathops/SkOpContour.h b/src/pathops/SkOpContour.h
|
| index 5b92a4b071b999d9adfad3d8f89a8ad025b75f38..7fad7a40e46637c62dd47c9c8b8b2ec332ef0d87 100644
|
| --- a/src/pathops/SkOpContour.h
|
| +++ b/src/pathops/SkOpContour.h
|
| @@ -10,6 +10,10 @@
|
| #include "SkOpSegment.h"
|
| #include "SkTArray.h"
|
|
|
| +#if defined(SK_DEBUG) || !FORCE_RELEASE
|
| +#include "SkThread.h"
|
| +#endif
|
| +
|
| class SkIntersections;
|
| class SkOpContour;
|
| class SkPathWriter;
|
| @@ -26,7 +30,7 @@ public:
|
| SkOpContour() {
|
| reset();
|
| #if defined(SK_DEBUG) || !FORCE_RELEASE
|
| - fID = ++SkPathOpsDebug::gContourID;
|
| + fID = sk_atomic_inc(&SkPathOpsDebug::gContourID);
|
| #endif
|
| }
|
|
|
|
|