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

Issue 1382613003: Remove gotos in JBig2 code. (Closed)

Created:
5 years, 2 months ago by Lei Zhang
Modified:
5 years, 2 months ago
Reviewers:
Tom Sepez
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 46

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+603 lines, -782 lines) Patch
M core/src/fxcodec/jbig2/JBig2_Context.h View 1 1 chunk +1 line, -1 line 0 comments Download
M core/src/fxcodec/jbig2/JBig2_Context.cpp View 1 25 chunks +515 lines, -667 lines 0 comments Download
M core/src/fxcodec/jbig2/JBig2_GsidProc.cpp View 1 2 chunks +50 lines, -64 lines 0 comments Download
M core/src/fxcodec/jbig2/JBig2_HuffmanTable.cpp View 1 5 chunks +37 lines, -50 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Lei Zhang
Many of the FX_Alloc()s can probably be replaced with std::vector, but that's for another pass.
5 years, 2 months ago (2015-10-05 01:40:56 UTC) #2
Tom Sepez
https://codereview.chromium.org/1382613003/diff/1/core/src/fxcodec/jbig2/JBig2_Context.cpp File core/src/fxcodec/jbig2/JBig2_Context.cpp (right): https://codereview.chromium.org/1382613003/diff/1/core/src/fxcodec/jbig2/JBig2_Context.cpp#newcode441 core/src/fxcodec/jbig2/JBig2_Context.cpp:441: FX_DWORD dwTemp; Can we scope this to the next ...
5 years, 2 months ago (2015-10-05 16:34:32 UTC) #3
Lei Zhang
https://codereview.chromium.org/1382613003/diff/1/core/src/fxcodec/jbig2/JBig2_Context.cpp File core/src/fxcodec/jbig2/JBig2_Context.cpp (right): https://codereview.chromium.org/1382613003/diff/1/core/src/fxcodec/jbig2/JBig2_Context.cpp#newcode441 core/src/fxcodec/jbig2/JBig2_Context.cpp:441: FX_DWORD dwTemp; On 2015/10/05 16:34:31, Tom Sepez wrote: > ...
5 years, 2 months ago (2015-10-07 07:51:12 UTC) #4
Tom Sepez
lgtm https://codereview.chromium.org/1382613003/diff/1/core/src/fxcodec/jbig2/JBig2_Context.cpp File core/src/fxcodec/jbig2/JBig2_Context.cpp (right): https://codereview.chromium.org/1382613003/diff/1/core/src/fxcodec/jbig2/JBig2_Context.cpp#newcode1031 core/src/fxcodec/jbig2/JBig2_Context.cpp:1031: return JBIG2_ERROR_FATAL; On 2015/10/07 07:51:11, Lei Zhang wrote: ...
5 years, 2 months ago (2015-10-07 17:13:12 UTC) #5
Lei Zhang
5 years, 2 months ago (2015-10-07 17:37:11 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
8a9ce5778e0789beb7ba15a62c592a353a51bcdd (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698