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

Unified Diff: core/fxcodec/jbig2/JBig2_GrrdProc.cpp

Issue 2450393004: Change some ints to bools in JBIG2 code. (Closed)
Patch Set: Created 4 years, 2 months 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 | « core/fxcodec/jbig2/JBig2_GrrdProc.h ('k') | core/fxcodec/jbig2/JBig2_SddProc.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxcodec/jbig2/JBig2_GrrdProc.cpp
diff --git a/core/fxcodec/jbig2/JBig2_GrrdProc.cpp b/core/fxcodec/jbig2/JBig2_GrrdProc.cpp
index 7ddb522ebc06f8c5e65c7f8034ac4ceb4f158ba4..669fed68e9c14be18efb43c298df89cde52bb2a9 100644
--- a/core/fxcodec/jbig2/JBig2_GrrdProc.cpp
+++ b/core/fxcodec/jbig2/JBig2_GrrdProc.cpp
@@ -17,7 +17,7 @@ CJBig2_Image* CJBig2_GRRDProc::decode(CJBig2_ArithDecoder* pArithDecoder,
if (GRW == 0 || GRH == 0)
return new CJBig2_Image(GRW, GRH);
- if (GRTEMPLATE == 0) {
+ if (!GRTEMPLATE) {
if ((GRAT[0] == -1) && (GRAT[1] == -1) && (GRAT[2] == -1) &&
(GRAT[3] == -1) && (GRREFERENCEDX == 0) &&
(GRW == (uint32_t)GRREFERENCE->width())) {
« no previous file with comments | « core/fxcodec/jbig2/JBig2_GrrdProc.h ('k') | core/fxcodec/jbig2/JBig2_SddProc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698