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

Issue 2043873006: Change time_t conversion operator to ToTime_t() function (Closed)

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

Description

Change time_t conversion operator to ToTime_t() function In class CPDFSDK_DateTime, use ToTime_t() function to make the conversion more clear. Also, clean up the code in this class by removing buggy/unused code, using static_cast instead of c cast etc. Committed: https://pdfium.googlesource.com/pdfium/+/b7a5179a7cd73d33355e1cece763caf238b7dc22

Patch Set 1 #

Patch Set 2 : clean up #

Total comments: 2

Patch Set 3 : address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -226 lines) Patch
M fpdfsdk/fsdk_baseannot.cpp View 1 2 8 chunks +156 lines, -221 lines 0 comments Download
M fpdfsdk/include/fsdk_baseannot.h View 1 1 chunk +1 line, -5 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
Wei Li
for review, thanks
4 years, 6 months ago (2016-06-08 02:28:37 UTC) #5
dsinclair
lgtm w/ nit https://codereview.chromium.org/2043873006/diff/60001/fpdfsdk/fsdk_baseannot.cpp File fpdfsdk/fsdk_baseannot.cpp (right): https://codereview.chromium.org/2043873006/diff/60001/fpdfsdk/fsdk_baseannot.cpp#newcode151 fpdfsdk/fsdk_baseannot.cpp:151: if (strLength > 0) { nit: ...
4 years, 6 months ago (2016-06-08 13:15:14 UTC) #6
Tom Sepez
lgtm
4 years, 6 months ago (2016-06-08 16:52:15 UTC) #7
Wei Li
thanks https://codereview.chromium.org/2043873006/diff/60001/fpdfsdk/fsdk_baseannot.cpp File fpdfsdk/fsdk_baseannot.cpp (right): https://codereview.chromium.org/2043873006/diff/60001/fpdfsdk/fsdk_baseannot.cpp#newcode151 fpdfsdk/fsdk_baseannot.cpp:151: if (strLength > 0) { On 2016/06/08 13:15:13, ...
4 years, 6 months ago (2016-06-08 16:58:56 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043873006/80001
4 years, 6 months ago (2016-06-08 18:22:45 UTC) #11
commit-bot: I haz the power
4 years, 6 months ago (2016-06-08 18:41:04 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://pdfium.googlesource.com/pdfium/+/b7a5179a7cd73d33355e1cece763caf238b7...

Powered by Google App Engine
This is Rietveld 408576698