aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/codec
diff options
context:
space:
mode:
authorGravatar Matt Sarett <msarett@google.com>2017-06-09 10:18:34 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-09 15:26:48 +0000
commitee7c8202ebb50dae6c7a95222232969509ea2dfa (patch)
treed16e93cd2c5bce193ddb215b9d867f463cc49e6d /include/codec
parent1aa2369883ca9db9a07efd353ff8f0acec83ff91 (diff)
Remove debug checks for unsupported ICC profiles
This was never fully integrated with our automated image testing. I feel it has limited usefulness in terms of catching bugs. Bug: skia: Change-Id: Iecd0a4e9b664ab0b351debde45ada864379de7ec Reviewed-on: https://skia-review.googlesource.com/19267 Reviewed-by: Leon Scroggins <scroggo@google.com> Reviewed-by: Matt Sarett <msarett@google.com> Commit-Queue: Matt Sarett <msarett@google.com>
Diffstat (limited to 'include/codec')
-rw-r--r--include/codec/SkCodec.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h
index 640ff468c5..4773d20a0c 100644
--- a/include/codec/SkCodec.h
+++ b/include/codec/SkCodec.h
@@ -848,8 +848,6 @@ protected:
return 0;
}
- void setUnsupportedICC(bool SkDEBUGCODE(value)) { SkDEBUGCODE(fUnsupportedICC = value); }
-
private:
const SkEncodedInfo fEncodedInfo;
const SkImageInfo fSrcInfo;
@@ -868,9 +866,6 @@ private:
int fCurrScanline;
bool fStartedIncrementalDecode;
-#ifdef SK_DEBUG
- bool fUnsupportedICC = false;
-#endif
/**
* Return whether these dimensions are supported as a scale.
@@ -935,7 +930,5 @@ private:
friend class DM::CodecSrc; // for fillIncompleteImage
friend class SkSampledCodec;
friend class SkIcoCodec;
- friend struct Sniffer; // for fUnsupportedICC
- friend class AutoCleanPng; // for setUnsupportedICC()
};
#endif // SkCodec_DEFINED