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

Issue 594403003: Lock page in LoadFXAnnot to prevent unintended page closing (Closed)

Created:
6 years, 3 months ago by Bo Xu
Modified:
5 years, 9 months ago
Reviewers:
Tom Sepez, jun_fang
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Visibility:
Public.

Description

Lock page in LoadFXAnnot to prevent unintended page closing BUG=410326 R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/facd0157ce975158da1659fb58a16c1308bd553b

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Total comments: 5

Patch Set 3 : remove white space #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -20 lines) Patch
M fpdfsdk/include/fsdk_mgr.h View 1 2 3 chunks +8 lines, -17 lines 0 comments Download
M fpdfsdk/src/fpdfview.cpp View 2 chunks +6 lines, -0 lines 0 comments Download
M fpdfsdk/src/fsdk_mgr.cpp View 1 8 chunks +20 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (1 generated)
Bo Xu
Hi Tom, please review the fix, thanks.
6 years, 3 months ago (2014-09-23 23:27:32 UTC) #2
Tom Sepez
I think this works, but having an ownership model where sometimes the page is owned ...
6 years, 3 months ago (2014-09-23 23:38:55 UTC) #3
Tom Sepez
On 2014/09/23 23:38:55, Tom Sepez wrote: > I think this works, but having an ownership ...
6 years, 3 months ago (2014-09-23 23:43:14 UTC) #4
Bo Xu
On 2014/09/23 23:43:14, Tom Sepez wrote: > On 2014/09/23 23:38:55, Tom Sepez wrote: > > ...
6 years, 3 months ago (2014-09-23 23:53:04 UTC) #5
Bo Xu
On 2014/09/23 23:43:14, Tom Sepez wrote: > On 2014/09/23 23:38:55, Tom Sepez wrote: > > ...
6 years, 3 months ago (2014-09-24 00:04:23 UTC) #6
Bo Xu
https://codereview.chromium.org/594403003/diff/1/fpdfsdk/src/fsdk_mgr.cpp File fpdfsdk/src/fsdk_mgr.cpp (right): https://codereview.chromium.org/594403003/diff/1/fpdfsdk/src/fsdk_mgr.cpp#newcode340 fpdfsdk/src/fsdk_mgr.cpp:340: delete pPageView; On 2014/09/23 23:38:54, Tom Sepez wrote: > ...
6 years, 3 months ago (2014-09-24 00:04:30 UTC) #7
Bo Xu
https://codereview.chromium.org/594403003/diff/1/fpdfsdk/include/fsdk_mgr.h File fpdfsdk/include/fsdk_mgr.h (right): https://codereview.chromium.org/594403003/diff/1/fpdfsdk/include/fsdk_mgr.h#newcode533 fpdfsdk/include/fsdk_mgr.h:533: void SetValid(FX_BOOL bValid) {m_Flag |= PAGEVIEW_FLAG_VALID;} On 2014/09/23 23:38:54, ...
6 years, 3 months ago (2014-09-24 01:01:13 UTC) #8
Tom Sepez
https://codereview.chromium.org/594403003/diff/20001/fpdfsdk/src/fsdk_mgr.cpp File fpdfsdk/src/fsdk_mgr.cpp (right): https://codereview.chromium.org/594403003/diff/20001/fpdfsdk/src/fsdk_mgr.cpp#newcode986 fpdfsdk/src/fsdk_mgr.cpp:986: m_pAnnotList = new CPDF_AnnotList(m_page); I saw this function getting ...
6 years, 3 months ago (2014-09-24 17:02:11 UTC) #9
Tom Sepez
https://codereview.chromium.org/594403003/diff/20001/fpdfsdk/include/fsdk_mgr.h File fpdfsdk/include/fsdk_mgr.h (right): https://codereview.chromium.org/594403003/diff/20001/fpdfsdk/include/fsdk_mgr.h#newcode513 fpdfsdk/include/fsdk_mgr.h:513: Super-nit: line contains only whitespace (git cl patch complains ...
6 years, 3 months ago (2014-09-24 17:07:05 UTC) #10
Tom Sepez
On 2014/09/24 17:02:11, Tom Sepez wrote: > https://codereview.chromium.org/594403003/diff/20001/fpdfsdk/src/fsdk_mgr.cpp > File fpdfsdk/src/fsdk_mgr.cpp (right): > > https://codereview.chromium.org/594403003/diff/20001/fpdfsdk/src/fsdk_mgr.cpp#newcode986 ...
6 years, 3 months ago (2014-09-24 17:26:21 UTC) #11
Bo Xu
On 2014/09/24 17:26:21, Tom Sepez wrote: > On 2014/09/24 17:02:11, Tom Sepez wrote: > > ...
6 years, 3 months ago (2014-09-24 17:47:59 UTC) #12
Bo Xu
6 years, 3 months ago (2014-09-24 17:51:25 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as facd015 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698