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

Issue 2341373003: Reduce duplicated code in CPDF_Document by adding auxiliary methods (Closed)

Created:
4 years, 3 months ago by npm
Modified:
4 years, 3 months ago
Reviewers:
Tom Sepez, dsinclair, Wei Li
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Reduce duplicated code in CPDF_Document by adding auxiliary methods ProcessbCJK and CalculateFontDesc methods are used to reduce the code duplication between AddFont and AddWindowsFont methods. Committed: https://pdfium.googlesource.com/pdfium/+/e9988dd65e743a9b70482aa3007cec2c9789f679

Patch Set 1 #

Patch Set 2 : Fix winbots #

Total comments: 2

Patch Set 3 : Nits #

Patch Set 4 : Typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -159 lines) Patch
M core/fpdfapi/fpdf_parser/cpdf_document.cpp View 1 2 3 9 chunks +116 lines, -159 lines 0 comments Download
M core/fpdfapi/fpdf_parser/include/cpdf_document.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (14 generated)
npm
PTAL
4 years, 3 months ago (2016-09-16 18:27:06 UTC) #4
Tom Sepez
lgtm https://codereview.chromium.org/2341373003/diff/20001/core/fpdfapi/fpdf_parser/cpdf_document.cpp File core/fpdfapi/fpdf_parser/cpdf_document.cpp (right): https://codereview.chromium.org/2341373003/diff/20001/core/fpdfapi/fpdf_parser/cpdf_document.cpp#newcode871 core/fpdfapi/fpdf_parser/cpdf_document.cpp:871: auto Insert = [&](FX_WCHAR start, FX_WCHAR end, CPDF_Array* ...
4 years, 3 months ago (2016-09-16 19:42:14 UTC) #11
Tom Sepez
https://codereview.chromium.org/2341373003/diff/20001/core/fpdfapi/fpdf_parser/include/cpdf_document.h File core/fpdfapi/fpdf_parser/include/cpdf_document.h (right): https://codereview.chromium.org/2341373003/diff/20001/core/fpdfapi/fpdf_parser/include/cpdf_document.h#newcode10 core/fpdfapi/fpdf_parser/include/cpdf_document.h:10: #include <memory> nit: #include <functional>
4 years, 3 months ago (2016-09-16 19:49:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2341373003/40001
4 years, 3 months ago (2016-09-16 20:26:39 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2341373003/60001
4 years, 3 months ago (2016-09-16 20:32:46 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-16 20:57:26 UTC) #20
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://pdfium.googlesource.com/pdfium/+/e9988dd65e743a9b70482aa3007cec2c9789...

Powered by Google App Engine
This is Rietveld 408576698