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

Issue 2421603002: Reland: Make the CPDFXFA_App non-global (Closed)

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

Description

Reland: Make the CPDFXFA_App non-global This reverts commit a282c7380f3964de41ea93c9980b12c4513d3473. This CL changes CPDFXFA_App from a global object to a child of the CPDFXFA_Document objects. BUG=pdfium:623 Committed: https://pdfium.googlesource.com/pdfium/+/8837c91c0db8f9205b7e58db97946e9af7958b39

Patch Set 1 #

Patch Set 2 : Cleanup the isolate #

Total comments: 3

Patch Set 3 : Rebase to master #

Total comments: 4

Patch Set 4 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -236 lines) Patch
M BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M fpdfsdk/DEPS View 1 chunk +2 lines, -1 line 0 comments Download
M fpdfsdk/cpdfsdk_formfillenvironment.cpp View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M fpdfsdk/fpdfdoc_unittest.cpp View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M fpdfsdk/fpdfformfill.cpp View 2 chunks +0 lines, -3 lines 0 comments Download
M fpdfsdk/fpdfsave.cpp View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M fpdfsdk/fpdfview.cpp View 1 2 3 4 chunks +9 lines, -12 lines 0 comments Download
M fpdfsdk/fpdfxfa/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M fpdfsdk/fpdfxfa/cpdfxfa_app.h View 1 2 3 2 chunks +6 lines, -18 lines 0 comments Download
M fpdfsdk/fpdfxfa/cpdfxfa_app.cpp View 1 2 3 5 chunks +51 lines, -106 lines 0 comments Download
M fpdfsdk/fpdfxfa/cpdfxfa_document.h View 1 2 3 5 chunks +6 lines, -14 lines 0 comments Download
M fpdfsdk/fpdfxfa/cpdfxfa_document.cpp View 1 2 3 6 chunks +36 lines, -15 lines 0 comments Download
M fpdfsdk/javascript/cjs_runtime.cpp View 3 chunks +2 lines, -41 lines 0 comments Download
M fxjs/fxjs_v8.h View 1 chunk +0 lines, -7 lines 0 comments Download
M fxjs/fxjs_v8.cpp View 1 chunk +0 lines, -8 lines 0 comments Download
M xfa/fxfa/parser/cxfa_scriptcontext.cpp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M xfa/fxfa/xfa_ffdoc.h View 1 2 3 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 25 (12 generated)
dsinclair
PTAL, third times a charm?
4 years, 2 months ago (2016-10-13 19:35:24 UTC) #2
Tom Sepez
https://codereview.chromium.org/2421603002/diff/20001/fpdfsdk/cpdfsdk_formfillenvironment.cpp File fpdfsdk/cpdfsdk_formfillenvironment.cpp (left): https://codereview.chromium.org/2421603002/diff/20001/fpdfsdk/cpdfsdk_formfillenvironment.cpp#oldcode61 fpdfsdk/cpdfsdk_formfillenvironment.cpp:61: #ifdef PDF_ENABLE_XFA this tells XFA that the FF side ...
4 years, 2 months ago (2016-10-13 20:43:14 UTC) #3
dsinclair
ping.
4 years, 2 months ago (2016-10-17 13:02:03 UTC) #6
dsinclair
4 years, 2 months ago (2016-10-18 12:46:22 UTC) #10
Lei Zhang
What changed since commit a282c738?
4 years, 2 months ago (2016-10-18 16:36:46 UTC) #11
dsinclair
On 2016/10/18 16:36:46, Lei Zhang wrote: > What changed since commit a282c738? Patchset 1 is ...
4 years, 2 months ago (2016-10-18 16:57:10 UTC) #12
Lei Zhang
On 2016/10/18 16:57:10, dsinclair wrote: > On 2016/10/18 16:36:46, Lei Zhang wrote: > > What ...
4 years, 2 months ago (2016-10-18 23:25:16 UTC) #13
Tom Sepez
https://codereview.chromium.org/2421603002/diff/40001/fpdfsdk/fpdfview.cpp File fpdfsdk/fpdfview.cpp (right): https://codereview.chromium.org/2421603002/diff/40001/fpdfsdk/fpdfview.cpp#newcode289 fpdfsdk/fpdfview.cpp:289: FXJSE_Initialize(); Isn't this going to bring v8 into existence ...
4 years, 2 months ago (2016-10-20 17:05:59 UTC) #14
dsinclair
https://codereview.chromium.org/2421603002/diff/40001/fpdfsdk/fpdfview.cpp File fpdfsdk/fpdfview.cpp (right): https://codereview.chromium.org/2421603002/diff/40001/fpdfsdk/fpdfview.cpp#newcode289 fpdfsdk/fpdfview.cpp:289: FXJSE_Initialize(); On 2016/10/20 17:05:59, Tom Sepez wrote: > Isn't ...
4 years, 1 month ago (2016-10-31 15:07:57 UTC) #17
dsinclair
ping.
4 years, 1 month ago (2016-11-01 15:43:43 UTC) #20
Tom Sepez
I think this works. LGTM.
4 years, 1 month ago (2016-11-01 17:56:13 UTC) #21
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/2421603002/60001
4 years, 1 month ago (2016-11-01 18:09:40 UTC) #23
commit-bot: I haz the power
4 years, 1 month ago (2016-11-01 18:22:40 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://pdfium.googlesource.com/pdfium/+/8837c91c0db8f9205b7e58db97946e9af795...

Powered by Google App Engine
This is Rietveld 408576698