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

Issue 2323493002: Pass CFX_WideString further down widget callers (Closed)

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

Description

Pass CFX_WideString further down widget callers Avoid a couple of places where we copy the raw string back into a brand-new widestring. There are a few places where the difference between a null ptr and an empty string control the logic, and I left these as-is. Other places can just take the string by const ref. Committed: https://pdfium.googlesource.com/pdfium/+/a31da74cffa8c3ff919051cc49bc006aeb55d345

Patch Set 1 #

Patch Set 2 : Null vs Empty string significant in places #

Total comments: 8

Patch Set 3 : rebase #

Patch Set 4 : Fix comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -50 lines) Patch
M fpdfsdk/cpdfsdk_interform.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M fpdfsdk/cpdfsdk_widget.cpp View 1 2 3 8 chunks +8 lines, -9 lines 0 comments Download
M fpdfsdk/cpdfsdk_widgethandler.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/formfiller/cffl_iformfiller.cpp View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M fpdfsdk/fxedit/fxet_edit.cpp View 1 2 3 7 chunks +20 lines, -23 lines 0 comments Download
M fpdfsdk/fxedit/include/fxet_edit.h View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M fpdfsdk/include/cpdfsdk_interform.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/include/cpdfsdk_widget.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M fpdfsdk/javascript/Field.cpp View 1 2 2 chunks +2 lines, -5 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
Tom Sepez
Dan, for review.
4 years, 3 months ago (2016-09-07 21:35:40 UTC) #5
dsinclair
https://codereview.chromium.org/2323493002/diff/20001/fpdfsdk/cpdfsdk_widget.cpp File fpdfsdk/cpdfsdk_widget.cpp (right): https://codereview.chromium.org/2323493002/diff/20001/fpdfsdk/cpdfsdk_widget.cpp#newcode1556 fpdfsdk/cpdfsdk_widget.cpp:1556: sValue = &sValueTmp; Do we need sValueTmp anymore? If ...
4 years, 3 months ago (2016-09-08 13:00:11 UTC) #8
Tom Sepez
https://codereview.chromium.org/2323493002/diff/20001/fpdfsdk/cpdfsdk_widget.cpp File fpdfsdk/cpdfsdk_widget.cpp (right): https://codereview.chromium.org/2323493002/diff/20001/fpdfsdk/cpdfsdk_widget.cpp#newcode1556 fpdfsdk/cpdfsdk_widget.cpp:1556: sValue = &sValueTmp; On 2016/09/08 13:00:11, dsinclair wrote: > ...
4 years, 3 months ago (2016-09-08 18:01:12 UTC) #9
dsinclair
lgtm
4 years, 3 months ago (2016-09-08 18:04:38 UTC) #11
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/2323493002/60001
4 years, 3 months ago (2016-09-08 18:04:41 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 18:28:17 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://pdfium.googlesource.com/pdfium/+/a31da74cffa8c3ff919051cc49bc006aeb55...

Powered by Google App Engine
This is Rietveld 408576698