Index: samplecode/SampleUnpremul.cpp |
diff --git a/samplecode/SampleUnpremul.cpp b/samplecode/SampleUnpremul.cpp |
index c84e1d44e8b9fff1a15c131bae18e5e9ecc8317e..ab99ecb8cea084d34ff3aba2e821f222690eb7a9 100644 |
--- a/samplecode/SampleUnpremul.cpp |
+++ b/samplecode/SampleUnpremul.cpp |
@@ -6,6 +6,8 @@ |
*/ |
#include "gm.h" |
+ |
+#include "Resources.h" |
#include "SampleCode.h" |
#include "SkBlurMask.h" |
#include "SkBlurDrawLooper.h" |
@@ -199,6 +201,6 @@ private: |
////////////////////////////////////////////////////////////////////////////// |
static SkView* MyFactory() { |
- return new UnpremulView(skiagm::GM::GetResourcePath()); |
+ return new UnpremulView(GetResourcePath()); |
} |
static SkViewRegister reg(MyFactory); |