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

Side by Side Diff: src/image/SkImage_Base.h

Issue 1369333004: Move SkAtomics.h to private. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 2 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 | « src/core/SkTypefaceCache.cpp ('k') | src/image/SkImage_Gpu.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 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkImage_Base_DEFINED 8 #ifndef SkImage_Base_DEFINED
9 #define SkImage_Base_DEFINED 9 #define SkImage_Base_DEFINED
10 10
11 #include "SkAtomics.h" 11 #include "../private/SkAtomics.h"
12 #include "SkImage.h" 12 #include "SkImage.h"
13 #include "SkSurface.h" 13 #include "SkSurface.h"
14 14
15 #include <new> 15 #include <new>
16 16
17 enum { 17 enum {
18 kNeedNewImageUniqueID = 0 18 kNeedNewImageUniqueID = 0
19 }; 19 };
20 20
21 class SkImage_Base : public SkImage { 21 class SkImage_Base : public SkImage {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 static inline SkImage_Base* as_IB(SkImage* image) { 80 static inline SkImage_Base* as_IB(SkImage* image) {
81 return static_cast<SkImage_Base*>(image); 81 return static_cast<SkImage_Base*>(image);
82 } 82 }
83 83
84 static inline const SkImage_Base* as_IB(const SkImage* image) { 84 static inline const SkImage_Base* as_IB(const SkImage* image) {
85 return static_cast<const SkImage_Base*>(image); 85 return static_cast<const SkImage_Base*>(image);
86 } 86 }
87 87
88 #endif 88 #endif
OLDNEW
« no previous file with comments | « src/core/SkTypefaceCache.cpp ('k') | src/image/SkImage_Gpu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698