Index: debugger/SkDebugger.cpp |
diff --git a/debugger/SkDebugger.cpp b/debugger/SkDebugger.cpp |
index cd951444ae9fdb0166191dcfd74ff23ee09bb1d5..875dfd6cc6704bfda528f312a408a972857fd942 100644 |
--- a/debugger/SkDebugger.cpp |
+++ b/debugger/SkDebugger.cpp |
@@ -138,7 +138,7 @@ void forceLinking() { |
// decoders. |
SkDEBUGCODE(SkImageDecoder *creator = ) CreateJPEGImageDecoder(); |
SkASSERT(creator); |
-#ifdef SK_BUILD_FOR_UNIX |
+#if defined(SK_BUILD_FOR_UNIX) && !defined(SK_BUILD_FOR_NACL) |
SkDEBUGCODE(creator = ) CreateGIFImageDecoder(); |
SkASSERT(creator); |
#endif |