Chromium Code Reviews

Unified Diff: experimental/PdfViewer/pdfparser/native/SkPdfObject.h

Issue 19543016: pdfviewer: fix typo (false != NULL) (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/PdfViewer/pdfparser/native/SkPdfObject.h
===================================================================
--- experimental/PdfViewer/pdfparser/native/SkPdfObject.h (revision 9971)
+++ experimental/PdfViewer/pdfparser/native/SkPdfObject.h (working copy)
@@ -404,7 +404,7 @@
if (key->fObjectType != kName_PdfObjectType || fObjectType != kDictionary_PdfObjectType) {
// TODO(edisonn): report err
- return false;
+ return NULL;
}
SkASSERT(key->fStr.fBuffer[key->fStr.fBytes] == '\0');
@@ -430,7 +430,7 @@
if (key->fObjectType != kName_PdfObjectType || fObjectType != kDictionary_PdfObjectType) {
// TODO(edisonn): report err
- return false;
+ return NULL;
}
SkASSERT(key->fStr.fBuffer[key->fStr.fBytes] == '\0');
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine