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

Unified Diff: include/private/SkImageInfoPriv.h

Issue 1917443002: SkDefaultColorProfile: Hide gDefaultProfileIsSRGB (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkImageInfo.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/private/SkImageInfoPriv.h
diff --git a/include/private/SkImageInfoPriv.h b/include/private/SkImageInfoPriv.h
index 93ef2740a648619ff1748eeff22373692ba5bb9b..89e6e203402c1df7495b48cdac19d9d7973f3827 100644
--- a/include/private/SkImageInfoPriv.h
+++ b/include/private/SkImageInfoPriv.h
@@ -9,11 +9,6 @@
#include "SkImageInfo.h"
-// Indicate how images and gradients should interpret colors by default.
-extern bool gDefaultProfileIsSRGB;
-
-static SkColorProfileType SkDefaultColorProfile() {
- return gDefaultProfileIsSRGB ? kSRGB_SkColorProfileType : kLinear_SkColorProfileType;
-}
+SK_API SkColorProfileType SkDefaultColorProfile();
#endif // SkImageInfoPriv_DEFINED
« no previous file with comments | « no previous file | src/core/SkImageInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698