Index: gm/gmmain.cpp |
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp |
index a5674a55685f755166f136b2bbdb83e422709921..443a26bfbc225801c37bba6ce91b2395c0ccadad 100644 |
--- a/gm/gmmain.cpp |
+++ b/gm/gmmain.cpp |
@@ -24,6 +24,7 @@ |
#include "SkDeferredCanvas.h" |
#include "SkDevice.h" |
#include "SkDrawFilter.h" |
+#include "SkForceLinking.h" |
#include "SkGPipe.h" |
#include "SkGraphics.h" |
#include "SkImageDecoder.h" |
@@ -37,6 +38,8 @@ |
#include "SkTileGridPicture.h" |
#include "SamplePipeControllers.h" |
+__SK_FORCE_IMAGE_DECODER_LINKING; |
+ |
#ifdef SK_BUILD_FOR_WIN |
// json includes xlocale which generates warning 4530 because we're compiling without |
// exceptions; see https://code.google.com/p/skia/issues/detail?id=1067 |