pdfviewer: fix typo (false != NULL)
authoredisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 22 Jul 2013 15:29:55 +0000 (15:29 +0000)
committeredisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 22 Jul 2013 15:29:55 +0000 (15:29 +0000)
Review URL: https://codereview.chromium.org/19543016

git-svn-id: http://skia.googlecode.com/svn/trunk@10235 2bbb7eff-a529-9590-31e7-b0007b416f81

experimental/PdfViewer/pdfparser/native/SkPdfObject.h

index e1cdb42a373323947545a8c86df36d9ec539a963..ff647987b0ca0acf954d1fabd7b18bf00b989eb1 100644 (file)
@@ -404,7 +404,7 @@ public:
 
         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 @@ public:
 
         if (key->fObjectType != kName_PdfObjectType || fObjectType != kDictionary_PdfObjectType) {
             // TODO(edisonn): report err
-            return false;
+            return NULL;
         }
 
         SkASSERT(key->fStr.fBuffer[key->fStr.fBytes] == '\0');