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

Issue 1558083002: Change CPDF_SyntaxParser::GetNextWord() to not pass by non-const ref. (Closed)

Created:
4 years, 11 months ago by Lei Zhang
Modified:
4 years, 11 months ago
Reviewers:
Wei Li
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Change CPDF_SyntaxParser::GetNextWord() to not pass by non-const ref. Change the internal version to GetNextWordInternal(). R=weili@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/61197421793e24add7a250d3f15ab83dc75f80c6

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase, resolve merge conflicts #

Patch Set 3 : address comment #

Patch Set 4 : nit #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -85 lines) Patch
M core/include/fpdfapi/fpdf_parser.h View 1 2 3 chunks +2 lines, -4 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_fdf.cpp View 1 2 chunks +5 lines, -5 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp View 1 2 3 32 chunks +78 lines, -76 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Lei Zhang
This will conflict with https://codereview.chromium.org/1549103002/ but I'll resolve that when landing.
4 years, 11 months ago (2016-01-05 01:55:00 UTC) #2
Wei Li
Good overall. https://codereview.chromium.org/1558083002/diff/1/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp File core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp (right): https://codereview.chromium.org/1558083002/diff/1/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp#newcode1774 core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp:1774: bool CPDF_SyntaxParser::GetNextWordInternal() { Consider using the similar ...
4 years, 11 months ago (2016-01-05 03:34:17 UTC) #3
Lei Zhang
https://codereview.chromium.org/1558083002/diff/1/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp File core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp (right): https://codereview.chromium.org/1558083002/diff/1/core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp#newcode1774 core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp:1774: bool CPDF_SyntaxParser::GetNextWordInternal() { On 2016/01/05 03:34:17, Wei Li wrote: ...
4 years, 11 months ago (2016-01-06 01:19:22 UTC) #4
Wei Li
lgtm
4 years, 11 months ago (2016-01-06 03:53:11 UTC) #5
Lei Zhang
4 years, 11 months ago (2016-01-06 09:46:35 UTC) #7
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
61197421793e24add7a250d3f15ab83dc75f80c6 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698