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

Unified Diff: src/core/SkImageInfo.cpp

Issue 1955063002: Change to sRGB default for codec generated images. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Sync and try flip again. All tests working in debug 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkImageInfo.cpp
diff --git a/src/core/SkImageInfo.cpp b/src/core/SkImageInfo.cpp
index 5f0a4919eeeddaa23fa3a535a5d8e2064fc88a4a..6314784c3674e69cbc4f975bbd0b426be41115e0 100644
--- a/src/core/SkImageInfo.cpp
+++ b/src/core/SkImageInfo.cpp
@@ -11,7 +11,7 @@
#include "SkWriteBuffer.h"
// Indicate how images and gradients should interpret colors by default.
-bool gDefaultProfileIsSRGB;
+bool gDefaultProfileIsSRGB = true;
SkColorProfileType SkDefaultColorProfile() {
return gDefaultProfileIsSRGB ? kSRGB_SkColorProfileType
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698