Revert of Change to sRGB default for codec generated images. (patchset #2 id:20001...
authorherb <herb@google.com>
Tue, 17 May 2016 13:50:15 +0000 (06:50 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 17 May 2016 13:50:15 +0000 (06:50 -0700)
Reason for revert:
TBR=brianosman@google.com

Original issue's description:
> Change to sRGB default for codec generated images.
>
> Compared the gm and skps for 8888 and srgb. There are no differences for 8888, there are 100 differences for sRGB, but the 100 look correct compared to the old ones.
>
> BUG=skia:
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1955063002
>
> Committed: https://skia.googlesource.com/skia/+/7acc00853174361cf921ecac8fbeaf6812f53eed

TBR=brianosman@google.com,msarett@google.com
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:

Review-Url: https://codereview.chromium.org/1982323002

src/core/SkImageInfo.cpp

index 6314784c3674e69cbc4f975bbd0b426be41115e0..5f0a4919eeeddaa23fa3a535a5d8e2064fc88a4a 100644 (file)
@@ -11,7 +11,7 @@
 #include "SkWriteBuffer.h"
 
 // Indicate how images and gradients should interpret colors by default.
-bool gDefaultProfileIsSRGB = true;
+bool gDefaultProfileIsSRGB;
 
 SkColorProfileType SkDefaultColorProfile() {
     return gDefaultProfileIsSRGB ? kSRGB_SkColorProfileType