Index: experimental/PdfViewer/pdfparser/native/SkPdfObject.h |
=================================================================== |
--- experimental/PdfViewer/pdfparser/native/SkPdfObject.h (revision 10423) |
+++ experimental/PdfViewer/pdfparser/native/SkPdfObject.h (working copy) |
@@ -169,7 +169,6 @@ |
return nyi; |
} |
- |
static void makeBoolean(bool value, SkPdfObject* obj) { |
SkASSERT(obj->fObjectType == kInvalid_PdfObjectType); |
@@ -703,7 +702,7 @@ |
inline bool boolValue() const { |
SkASSERT(fObjectType == kBoolean_PdfObjectType); |
- if (fObjectType == kBoolean_PdfObjectType) { |
+ if (fObjectType != kBoolean_PdfObjectType) { |
// TODO(edisonn): log err |
return false; |
} |