Index: debugger/SkDebugger.cpp |
diff --git a/debugger/SkDebugger.cpp b/debugger/SkDebugger.cpp |
index 3a135798942787979f4e40422550ece7197aca97..1e39b8e351f556c1002df651862cfc2e4559b1dd 100644 |
--- a/debugger/SkDebugger.cpp |
+++ b/debugger/SkDebugger.cpp |
@@ -129,19 +129,3 @@ void SkDebugger::getOverviewText(const SkTDArray<double>* typeTimes, |
overview->append("px"); |
} |
-#include "SkImageDecoder.h" |
- |
-void forceLinking(); |
-void forceLinking() { |
- // This function leaks, but that is okay because it is not intended |
- // to be called. It is only here so that the linker will include the |
- // 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); |
-#endif |
-} |