Index: samplecode/SampleAll.cpp |
diff --git a/samplecode/SampleAll.cpp b/samplecode/SampleAll.cpp |
index 7c0557fc40e4a61a2a0a97fb1c72dde7736771c5..2bbe29f3835c2a5ac20590ac9f0c187bbd0ff9ef 100644 |
--- a/samplecode/SampleAll.cpp |
+++ b/samplecode/SampleAll.cpp |
@@ -21,7 +21,6 @@ |
#include "SkReadBuffer.h" |
#include "SkWriteBuffer.h" |
#include "SkGradientShader.h" |
-#include "SkImageDecoder.h" |
#include "SkLayerRasterizer.h" |
#include "SkMath.h" |
#include "SkPath.h" |
@@ -37,6 +36,7 @@ |
#include "SkXfermode.h" |
#include <math.h> |
+#include "DecodeFile.h" |
static inline SkPMColor rgb2gray(SkPMColor c) { |
unsigned r = SkGetPackedR32(c); |
@@ -511,9 +511,9 @@ protected: |
} |
virtual void startTest() { |
- SkImageDecoder::DecodeFile("/Users/caryclark/Desktop/bugcirc.gif", &fBug); |
- SkImageDecoder::DecodeFile("/Users/caryclark/Desktop/tbcirc.gif", &fTb); |
- SkImageDecoder::DecodeFile("/Users/caryclark/Desktop/05psp04.gif", &fTx); |
+ decode_file("/Users/caryclark/Desktop/bugcirc.gif", &fBug); |
+ decode_file("/Users/caryclark/Desktop/tbcirc.gif", &fTb); |
+ decode_file("/Users/caryclark/Desktop/05psp04.gif", &fTx); |
} |
void drawRaster(SkCanvas* canvas) { |