aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--debugger/SkDebugger.cpp2
-rw-r--r--tools/skimage_main.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/debugger/SkDebugger.cpp b/debugger/SkDebugger.cpp
index 875dfd6cc6..3a13579894 100644
--- a/debugger/SkDebugger.cpp
+++ b/debugger/SkDebugger.cpp
@@ -138,6 +138,8 @@ void forceLinking() {
// decoders.
SkDEBUGCODE(SkImageDecoder *creator = ) CreateJPEGImageDecoder();
SkASSERT(creator);
+ SkDEBUGCODE(creator = ) CreateWEBPImageDecoder();
+ SkASSERT(creator);
#if defined(SK_BUILD_FOR_UNIX) && !defined(SK_BUILD_FOR_NACL)
SkDEBUGCODE(creator = ) CreateGIFImageDecoder();
SkASSERT(creator);
diff --git a/tools/skimage_main.cpp b/tools/skimage_main.cpp
index b486d5d1a3..af9b4adea2 100644
--- a/tools/skimage_main.cpp
+++ b/tools/skimage_main.cpp
@@ -164,6 +164,8 @@ void forceLinking() {
// decoders.
SkDEBUGCODE(SkImageDecoder *creator = ) CreateJPEGImageDecoder();
SkASSERT(creator);
+ SkDEBUGCODE(creator = ) CreateWEBPImageDecoder();
+ SkASSERT(creator);
#ifdef SK_BUILD_FOR_UNIX
SkDEBUGCODE(creator = ) CreateGIFImageDecoder();
SkASSERT(creator);