Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: experimental/PdfViewer/SkPdfRenderer.cpp

Issue 65263002: pdfviewer: fix typos (|| instead of |) (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« 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/SkPdfRenderer.cpp
diff --git a/experimental/PdfViewer/SkPdfRenderer.cpp b/experimental/PdfViewer/SkPdfRenderer.cpp
index 6c6c6669da6076cda59370ce21e0e81c1b308781..2d79f13077768ba5c60532455f0d318736d5449d 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);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698