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

Issue 2064223002: Clean up CPDF_TextPage. (Closed)

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

Description

Clean up CPDF_TextPage. - Use more enums to better describe return results. - Simplify code. Committed: https://pdfium.googlesource.com/pdfium/+/e7b0a2d5c47a88fb29ed9d100d670e7185b8d213

Patch Set 1 #

Total comments: 14

Patch Set 2 : Fix breakage, do a bit more refactoring #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -181 lines) Patch
M core/fpdftext/fpdf_text_int.cpp View 1 27 chunks +172 lines, -175 lines 0 comments Download
M core/fpdftext/include/cpdf_textpage.h View 1 4 chunks +21 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Lei Zhang
Here's a first pass just so I can better understand the code.
4 years, 6 months ago (2016-06-14 19:20:21 UTC) #2
dsinclair
https://codereview.chromium.org/2064223002/diff/1/core/fpdftext/fpdf_text_int.cpp File core/fpdftext/fpdf_text_int.cpp (left): https://codereview.chromium.org/2064223002/diff/1/core/fpdftext/fpdf_text_int.cpp#oldcode1226 core/fpdftext/fpdf_text_int.cpp:1226: m_TextBuf.AppendChar(TEXT_RETURN_CHAR); This is different now. Previously it would append ...
4 years, 6 months ago (2016-06-14 19:40:13 UTC) #3
Lei Zhang
https://codereview.chromium.org/2064223002/diff/1/core/fpdftext/fpdf_text_int.cpp File core/fpdftext/fpdf_text_int.cpp (left): https://codereview.chromium.org/2064223002/diff/1/core/fpdftext/fpdf_text_int.cpp#oldcode1226 core/fpdftext/fpdf_text_int.cpp:1226: m_TextBuf.AppendChar(TEXT_RETURN_CHAR); On 2016/06/14 19:40:13, dsinclair wrote: > This is ...
4 years, 6 months ago (2016-06-14 20:01:16 UTC) #4
dsinclair
lgtm
4 years, 6 months ago (2016-06-14 20:14:47 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2064223002/20001
4 years, 6 months ago (2016-06-14 20:14:53 UTC) #7
commit-bot: I haz the power
4 years, 6 months ago (2016-06-14 20:15:16 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/e7b0a2d5c47a88fb29ed9d100d670e7185b8...

Powered by Google App Engine
This is Rietveld 408576698