Index: src/gpu/GrTextStrike.cpp |
diff --git a/src/gpu/GrTextStrike.cpp b/src/gpu/GrTextStrike.cpp |
index fa97f73f05c603911b685ce8068218f36ef3b2b0..8ae10cc8ddafc937230b61be62408e830914012c 100644 |
--- a/src/gpu/GrTextStrike.cpp |
+++ b/src/gpu/GrTextStrike.cpp |
@@ -7,6 +7,7 @@ |
#include "GrGpu.h" |
#include "GrRectanizer.h" |
+#include "GrSurfacePriv.h" |
#include "GrTextStrike.h" |
#include "GrTextStrike_impl.h" |
#include "SkString.h" |
@@ -206,7 +207,7 @@ void GrFontCache::dump() const { |
#else |
filename.printf("fontcache_%d%d.png", gDumpCount, i); |
#endif |
- texture->savePixels(filename.c_str()); |
+ texture->surfacePriv().savePixels(filename.c_str()); |
} |
} |
} |