Index: experimental/PdfViewer/SkPdfFont.cpp |
=================================================================== |
--- experimental/PdfViewer/SkPdfFont.cpp (revision 10402) |
+++ experimental/PdfViewer/SkPdfFont.cpp (working copy) |
@@ -308,7 +308,7 @@ |
static int skstoi(const SkPdfObject* str) { |
// TODO(edisonn): report err of it is not a (hex) string |
int ret = 0; |
- for (unsigned int i = 0 ; i < str->len(); i++) { |
+ for (unsigned int i = 0 ; i < str->lenstr(); i++) { |
ret = (ret << 8) + ((unsigned char*)str->c_str())[i]; |
} |
// TODO(edisonn): character larger than 0x0000ffff not supported right now. |