aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/images
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-08-04 10:47:16 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-04 10:47:16 -0700
commit4e44efe50474d4eebcb30b762e784b3ef2126750 (patch)
treebb97f059ed563a2890d6d85107a38911a6ed4f14 /src/images
parent6fc699aab71747b2fab1b1c096abfc5f9093247c (diff)
SkRTConf: eliminate
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2212473002 DOCS_PREVIEW= https://skia.org/?cl=2212473002 CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot [mtklein] TBR=reed@google.com Only removing unused public API. Review-Url: https://codereview.chromium.org/2212473002
Diffstat (limited to 'src/images')
-rw-r--r--src/images/SkJPEGImageEncoder.cpp1
-rw-r--r--src/images/SkPNGImageEncoder.cpp9
2 files changed, 3 insertions, 7 deletions
diff --git a/src/images/SkJPEGImageEncoder.cpp b/src/images/SkJPEGImageEncoder.cpp
index 1051aec205..66b2440c20 100644
--- a/src/images/SkJPEGImageEncoder.cpp
+++ b/src/images/SkJPEGImageEncoder.cpp
@@ -13,7 +13,6 @@
#include "SkTemplates.h"
#include "SkTime.h"
#include "SkUtils.h"
-#include "SkRTConf.h"
#include "SkRect.h"
#include "SkCanvas.h"
diff --git a/src/images/SkPNGImageEncoder.cpp b/src/images/SkPNGImageEncoder.cpp
index c3df5d10a8..1932e66dc6 100644
--- a/src/images/SkPNGImageEncoder.cpp
+++ b/src/images/SkPNGImageEncoder.cpp
@@ -10,7 +10,6 @@
#include "SkColorPriv.h"
#include "SkDither.h"
#include "SkMath.h"
-#include "SkRTConf.h"
#include "SkStream.h"
#include "SkTemplates.h"
#include "SkUtils.h"
@@ -36,11 +35,9 @@
#endif
#define DEFAULT_FOR_SUPPRESS_PNG_IMAGE_DECODER_WARNINGS true
-SK_CONF_DECLARE(bool, c_suppressPNGImageDecoderWarnings,
- "images.png.suppressDecoderWarnings",
- DEFAULT_FOR_SUPPRESS_PNG_IMAGE_DECODER_WARNINGS,
- "Suppress most PNG warnings when calling image decode "
- "functions.");
+// Suppress most PNG warnings when calling image decode functions.
+static const bool c_suppressPNGImageDecoderWarnings{
+ DEFAULT_FOR_SUPPRESS_PNG_IMAGE_DECODER_WARNINGS};
///////////////////////////////////////////////////////////////////////////////