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

Issue 880663003: Kill scattered extern _PDF_CharType declarations. (Closed)

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

Description

Kill scattered extern _PDF_CharType declarations. While we're at it, avoid an indirection through a pointer, and use a name that isn't reserved for the compiler (leading _ CAP). This is a small portion of the associated bug: BUG=https://code.google.com/p/pdfium/issues/detail?id=112 R=brucedawson@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/eef005055d6aafc2cc6066af37ce47d8b15ec7cd

Patch Set 1 #

Patch Set 2 : nul. #

Total comments: 1

Patch Set 3 : Use fixed size 256. #

Patch Set 4 : Fix typo in 'N' in fpdf_parser.h comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -67 lines) Patch
M core/include/fpdfapi/fpdf_parser.h View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp View 11 chunks +15 lines, -16 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_filters.cpp View 2 chunks +2 lines, -3 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp View 1 2 22 chunks +29 lines, -30 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp View 1 2 7 chunks +44 lines, -18 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
Tom Sepez
Bruce, please take a look.
5 years, 11 months ago (2015-01-27 00:42:03 UTC) #2
brucedawson
lgtm https://codereview.chromium.org/880663003/diff/20001/core/include/fpdfapi/fpdf_parser.h File core/include/fpdfapi/fpdf_parser.h (right): https://codereview.chromium.org/880663003/diff/20001/core/include/fpdfapi/fpdf_parser.h#newcode55 core/include/fpdfapi/fpdf_parser.h:55: extern const char PDF_CharType[]; Consider putting the array ...
5 years, 11 months ago (2015-01-27 01:13:41 UTC) #3
Tom Sepez
Howzabout now? I think if I ever have to look at this chart again without ...
5 years, 11 months ago (2015-01-27 02:03:51 UTC) #4
brucedawson
I like it. It's a lot more verbose (the one down side) but it much ...
5 years, 11 months ago (2015-01-27 02:10:45 UTC) #5
Tom Sepez
(FYI, I cut/pasted the old/new into a small file and coded a loop to ensure ...
5 years, 11 months ago (2015-01-27 17:47:36 UTC) #6
Tom Sepez
Committed patchset #4 (id:60001) manually as eef005055d6aafc2cc6066af37ce47d8b15ec7cd (presubmit successful).
5 years, 11 months ago (2015-01-27 17:47:49 UTC) #7
brucedawson
5 years, 11 months ago (2015-01-27 19:10:39 UTC) #8
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698