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

Issue 1996623002: Remove CFX_DSPATemplate usage in CXFA_TextParser (Closed)

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

Description

Remove CFX_DSPATemplate usage in CXFA_TextParser This CL changes the check to use std::binary_search instead of the custom lookup method. The tag validation has been split out to a separate method with unit tests added. Committed: https://pdfium.googlesource.com/pdfium/+/c7600f99490f83e544e37feb77d3b9e8428b0f68

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -17 lines) Patch
M BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M pdfium.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M xfa/fxfa/app/xfa_textlayout.h View 3 chunks +5 lines, -2 lines 0 comments Download
M xfa/fxfa/app/xfa_textlayout.cpp View 1 2 chunks +30 lines, -15 lines 0 comments Download
A xfa/fxfa/app/xfa_textlayout_unittest.cpp View 1 1 chunk +40 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
dsinclair
PTAL.
4 years, 7 months ago (2016-05-19 16:20:15 UTC) #2
Tom Sepez
https://codereview.chromium.org/1996623002/diff/1/xfa/fxfa/app/xfa_textlayout.cpp File xfa/fxfa/app/xfa_textlayout.cpp (right): https://codereview.chromium.org/1996623002/diff/1/xfa/fxfa/app/xfa_textlayout.cpp#newcode284 xfa/fxfa/app/xfa_textlayout.cpp:284: uint32_t dwHashCode = FX_HashCode_GetW(wsName.AsStringC(), true); nit: local only used ...
4 years, 7 months ago (2016-05-19 16:37:10 UTC) #3
dsinclair
https://codereview.chromium.org/1996623002/diff/1/xfa/fxfa/app/xfa_textlayout.cpp File xfa/fxfa/app/xfa_textlayout.cpp (right): https://codereview.chromium.org/1996623002/diff/1/xfa/fxfa/app/xfa_textlayout.cpp#newcode284 xfa/fxfa/app/xfa_textlayout.cpp:284: uint32_t dwHashCode = FX_HashCode_GetW(wsName.AsStringC(), true); On 2016/05/19 16:37:10, Tom ...
4 years, 7 months ago (2016-05-19 17:50:47 UTC) #4
Tom Sepez
lgtm
4 years, 7 months ago (2016-05-19 21:12:04 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1996623002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1996623002/20001
4 years, 7 months ago (2016-05-19 21:12:15 UTC) #7
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 21:12:36 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/c7600f99490f83e544e37feb77d3b9e8428b...

Powered by Google App Engine
This is Rietveld 408576698