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

Side by Side Diff: src/core/SkColorSpace_Base.h

Issue 1995233003: Test color correction in DM (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase Created 4 years, 7 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
« dm/DMSrcSink.cpp ('K') | « src/core/SkColorSpace.cpp ('k') | no next file » | 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 2016 Google Inc. 2 * Copyright 2016 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 SkColorSpace_Base_DEFINED 8 #ifndef SkColorSpace_Base_DEFINED
9 #define SkColorSpace_Base_DEFINED 9 #define SkColorSpace_Base_DEFINED
10 10
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 sk_sp<SkGammas> fGammas; 129 sk_sp<SkGammas> fGammas;
130 130
131 friend class SkColorSpace; 131 friend class SkColorSpace;
132 typedef SkColorSpace INHERITED; 132 typedef SkColorSpace INHERITED;
133 }; 133 };
134 134
135 static inline SkColorSpace_Base* as_CSB(SkColorSpace* colorSpace) { 135 static inline SkColorSpace_Base* as_CSB(SkColorSpace* colorSpace) {
136 return static_cast<SkColorSpace_Base*>(colorSpace); 136 return static_cast<SkColorSpace_Base*>(colorSpace);
137 } 137 }
138 138
139 static inline SkColorSpace_Base* as_CSB(const sk_sp<SkColorSpace>& colorSpace) {
140 return static_cast<SkColorSpace_Base*>(colorSpace.get());
141 }
142
139 #endif 143 #endif
OLDNEW
« dm/DMSrcSink.cpp ('K') | « src/core/SkColorSpace.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698