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

Side by Side Diff: include/core/SkPathRef.h

Issue 1867863002: Convert SkRefCnt to std::atomic. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Restore to 1. Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | include/core/SkRefCnt.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #ifndef SkPathRef_DEFINED 9 #ifndef SkPathRef_DEFINED
10 #define SkPathRef_DEFINED 10 #define SkPathRef_DEFINED
11 11
12 #include "../private/SkAtomics.h"
12 #include "../private/SkTDArray.h" 13 #include "../private/SkTDArray.h"
13 #include "SkMatrix.h" 14 #include "SkMatrix.h"
14 #include "SkPoint.h" 15 #include "SkPoint.h"
15 #include "SkRRect.h" 16 #include "SkRRect.h"
16 #include "SkRect.h" 17 #include "SkRect.h"
17 #include "SkRefCnt.h" 18 #include "SkRefCnt.h"
18 #include <stddef.h> // ptrdiff_t 19 #include <stddef.h> // ptrdiff_t
19 20
20 class SkRBuffer; 21 class SkRBuffer;
21 class SkWBuffer; 22 class SkWBuffer;
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 SkBool8 fIsOval; 500 SkBool8 fIsOval;
500 SkBool8 fIsRRect; 501 SkBool8 fIsRRect;
501 uint8_t fSegmentMask; 502 uint8_t fSegmentMask;
502 503
503 friend class PathRefTest_Private; 504 friend class PathRefTest_Private;
504 friend class ForceIsRRect_Private; // unit test isRRect 505 friend class ForceIsRRect_Private; // unit test isRRect
505 typedef SkRefCnt INHERITED; 506 typedef SkRefCnt INHERITED;
506 }; 507 };
507 508
508 #endif 509 #endif
OLDNEW
« no previous file with comments | « no previous file | include/core/SkRefCnt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698