diff options
author | edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-11-07 20:33:17 +0000 |
---|---|---|
committer | edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-11-07 20:33:17 +0000 |
commit | 5e4d9819dbcbfbbdbd2ad2840b9c1b2b01c98db1 (patch) | |
tree | 7da757cc09bad5f435e0f9fa69105a737abb6671 /experimental/PdfViewer/SkPdfRenderer.cpp | |
parent | 2761b30dfef11837075d5962973de08246b406a7 (diff) |
pdfviewer: fix typos (|| instead of |)
Review URL: https://codereview.chromium.org/65263002
git-svn-id: http://skia.googlecode.com/svn/trunk@12176 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental/PdfViewer/SkPdfRenderer.cpp')
-rw-r--r-- | experimental/PdfViewer/SkPdfRenderer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/experimental/PdfViewer/SkPdfRenderer.cpp b/experimental/PdfViewer/SkPdfRenderer.cpp index 6c6c6669da..2d79f13077 100644 --- a/experimental/PdfViewer/SkPdfRenderer.cpp +++ b/experimental/PdfViewer/SkPdfRenderer.cpp @@ -1782,7 +1782,7 @@ static SkPdfResult PdfOp_TJ(SkPdfContext* pdfContext, SkCanvas* canvas, PdfToken SkPdfReportUnexpectedType(kIgnoreError_SkPdfIssueSeverity, "element [i] is null, no element should be null", array, - SkPdfNativeObject::_kAnyString_PdfObjectType || + SkPdfNativeObject::_kAnyString_PdfObjectType | SkPdfNativeObject::_kNumber_PdfObjectType, pdfContext); } else if( (*array)[i]->isAnyString()) { @@ -1805,7 +1805,7 @@ static SkPdfResult PdfOp_TJ(SkPdfContext* pdfContext, SkCanvas* canvas, PdfToken pdfContext->fGraphicsState.fMatrixTm.preConcat(matrix); } else { SkPdfReportUnexpectedType(kIgnoreError_SkPdfIssueSeverity, "wrong type", (*array)[i], - SkPdfNativeObject::kArray_PdfObjectType || + SkPdfNativeObject::kArray_PdfObjectType | SkPdfNativeObject::_kNumber_PdfObjectType, pdfContext); } @@ -2521,7 +2521,7 @@ static SkPdfResult PdfOp_gs(SkPdfContext* pdfContext, SkCanvas* canvas, PdfToken skpdfGraphicsStateApplyBM_array(pdfContext, gs->getBMAsArray(pdfContext->fPdfDoc)); } else { SkPdfReportUnexpectedType(kIgnoreError_SkPdfIssueSeverity, "wrong type", gs->get("BM"), - SkPdfNativeObject::kArray_PdfObjectType || + SkPdfNativeObject::kArray_PdfObjectType | SkPdfNativeObject::kName_PdfObjectType, pdfContext); } } @@ -2536,7 +2536,7 @@ static SkPdfResult PdfOp_gs(SkPdfContext* pdfContext, SkCanvas* canvas, PdfToken SkPdfReportUnexpectedType(kIgnoreError_SkPdfIssueSeverity, "wrong type", gs->get("BM"), - SkPdfNativeObject::kDictionary_PdfObjectType || + SkPdfNativeObject::kDictionary_PdfObjectType | SkPdfNativeObject::kName_PdfObjectType, pdfContext); } |