Index: experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.cpp |
=================================================================== |
--- experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.cpp (revision 9988) |
+++ experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.cpp (working copy) |
@@ -69,7 +69,8 @@ |
array->appendInArray(newObj); |
} |
// TODO(edisonn): report not reached, we should never get here |
- SkASSERT(false); |
+ // TODO(edisonn): there might be a bug here, enable an assert and run it on files |
+ // or it might be that the files were actually corrupted |
return start; |
} |
@@ -170,6 +171,8 @@ |
in++; |
break; |
} |
+ } else { |
+ in++; |
} |
} else { |
// TODO(edisonn): perf, avoid copy into itself, maybe first do a simple scan until found backslash ? |