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

Issue 1846353002: Remove CFX_ string type static initializers. (Closed)

Created:
4 years, 8 months ago by Tom Sepez
Modified:
4 years, 8 months ago
Reviewers:
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_ string type static initializers. In XFA, we were constructing some CFX_ string types before we reached main(). Setting breakpoints on these as well as main() shows we hit main first after applying the patch. Doing so also turned up an unused variable, presumably because the static initializer made it appear used. Committed: https://pdfium.googlesource.com/pdfium/+/4af5fd19d4101079d5a47412e07a5daaf3dade6e

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -34 lines) Patch
M xfa/fgas/localization/fgas_locale.cpp View 1 chunk +3 lines, -4 lines 0 comments Download
M xfa/fxfa/fm2js/xfa_expression.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M xfa/fxfa/fm2js/xfa_simpleexpression.cpp View 1 chunk +27 lines, -26 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
Tom Sepez
Lei, quick review. Thanks.
4 years, 8 months ago (2016-04-01 22:13:09 UTC) #2
Lei Zhang
lgtm
4 years, 8 months ago (2016-04-01 22:20:54 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1846353002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1846353002/1
4 years, 8 months ago (2016-04-01 22:25:08 UTC) #5
commit-bot: I haz the power
4 years, 8 months ago (2016-04-01 22:31:46 UTC) #7
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://pdfium.googlesource.com/pdfium/+/4af5fd19d4101079d5a47412e07a5daaf3da...

Powered by Google App Engine
This is Rietveld 408576698