diff options
author | edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-10 18:38:02 +0000 |
---|---|---|
committer | edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-07-10 18:38:02 +0000 |
commit | e4dbe21bd9f48dfbac9f3510737105c67beb7dc2 (patch) | |
tree | 66bebd2e38c252097e98dfa695ab82e37cc5c15f /experimental/PdfViewer | |
parent | a3356fce903ff75dc332b53dd3a860ba810b9519 (diff) |
pdfviewer: remove assert
Review URL: https://codereview.chromium.org/18518006
git-svn-id: http://skia.googlecode.com/svn/trunk@9971 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental/PdfViewer')
-rw-r--r-- | experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.cpp b/experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.cpp index 0a09d1aa3e..53987fa383 100644 --- a/experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.cpp +++ b/experimental/PdfViewer/pdfparser/native/SkPdfNativeTokenizer.cpp @@ -692,8 +692,8 @@ SkPdfNativeTokenizer::~SkPdfNativeTokenizer() { // the parsed one is locked as it contains the strings and keywords referenced in objects if (fUncompressedStream) { void* dummy = realloc(fUncompressedStreamStart, fUncompressedStream - fUncompressedStreamStart); - SkASSERT(dummy == fUncompressedStreamStart); - fUncompressedStreamStart = (unsigned char*)dummy; // suporess compiler warning + //SkASSERT(dummy == fUncompressedStreamStart); + fUncompressedStreamStart = (unsigned char*)dummy; // suppress compiler warning } else { SkASSERT(false); } |