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

Issue 1784323006: Re-enable warning 4201 for xfa and other clean up (Closed)

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

Description

Re-enable warning 4201 for xfa and other clean up Re-enable the warning by naming the unnamed structs. Also clean up fx_graphics files. BUG=pdfium:29 R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/f89acbcf5c652dc2eb3509568b3a5a57cb4c4c5e

Patch Set 1 : #

Total comments: 22

Patch Set 2 : address comments #

Total comments: 2

Patch Set 3 : rebase #

Patch Set 4 : remove tags #

Unified diffs Side-by-side diffs Delta from patch set Stats (+698 lines, -889 lines) Patch
M xfa.gyp View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M xfa/fxgraphics/fx_graphics.cpp View 1 2 17 chunks +595 lines, -749 lines 0 comments Download
M xfa/include/fxgraphics/fx_graphics.h View 1 2 3 6 chunks +103 lines, -138 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
Wei Li
A lot of clean up. Discovered another bug: the first CFX_Graphics::Transfer() never return 'succeeded'. Fortunately, ...
4 years, 9 months ago (2016-03-12 01:49:30 UTC) #4
Tom Sepez
https://codereview.chromium.org/1784323006/diff/20001/xfa/src/fxgraphics/fx_graphics.cpp File xfa/src/fxgraphics/fx_graphics.cpp (right): https://codereview.chromium.org/1784323006/diff/20001/xfa/src/fxgraphics/fx_graphics.cpp#newcode16 xfa/src/fxgraphics/fx_graphics.cpp:16: m_info.graphState.SetDashCount(0); Maybe struct TTINfo gets a ctor that does ...
4 years, 9 months ago (2016-03-14 16:43:50 UTC) #6
Wei Li
thanks for reviewing. https://codereview.chromium.org/1784323006/diff/20001/xfa/src/fxgraphics/fx_graphics.cpp File xfa/src/fxgraphics/fx_graphics.cpp (right): https://codereview.chromium.org/1784323006/diff/20001/xfa/src/fxgraphics/fx_graphics.cpp#newcode16 xfa/src/fxgraphics/fx_graphics.cpp:16: m_info.graphState.SetDashCount(0); On 2016/03/14 16:43:49, Tom Sepez ...
4 years, 9 months ago (2016-03-14 19:47:45 UTC) #7
Tom Sepez
lgtm https://codereview.chromium.org/1784323006/diff/40001/xfa/include/fxgraphics/fx_graphics.h File xfa/include/fxgraphics/fx_graphics.h (right): https://codereview.chromium.org/1784323006/diff/40001/xfa/include/fxgraphics/fx_graphics.h#newcode252 xfa/include/fxgraphics/fx_graphics.h:252: explicit TInfo(const TInfo& info); Copy ctor shouldn't be ...
4 years, 9 months ago (2016-03-14 20:02:03 UTC) #8
Wei Li
thanks https://codereview.chromium.org/1784323006/diff/40001/xfa/include/fxgraphics/fx_graphics.h File xfa/include/fxgraphics/fx_graphics.h (right): https://codereview.chromium.org/1784323006/diff/40001/xfa/include/fxgraphics/fx_graphics.h#newcode252 xfa/include/fxgraphics/fx_graphics.h:252: explicit TInfo(const TInfo& info); On 2016/03/14 20:02:03, Tom ...
4 years, 9 months ago (2016-03-14 20:23:04 UTC) #9
Tom Sepez
On 2016/03/14 20:23:04, Wei Li wrote: > thanks > > https://codereview.chromium.org/1784323006/diff/40001/xfa/include/fxgraphics/fx_graphics.h > File xfa/include/fxgraphics/fx_graphics.h (right): ...
4 years, 9 months ago (2016-03-14 20:30:06 UTC) #10
Wei Li
Committed patchset #4 (id:80001) manually as f89acbcf5c652dc2eb3509568b3a5a57cb4c4c5e (presubmit successful).
4 years, 9 months ago (2016-03-14 22:10:59 UTC) #12
Tom Sepez
4 years, 9 months ago (2016-03-22 21:02:30 UTC) #13
Message was sent while issue was closed.
On 2016/03/14 22:10:59, Wei Li wrote:
> Committed patchset #4 (id:80001) manually as
> f89acbcf5c652dc2eb3509568b3a5a57cb4c4c5e (presubmit successful).

Bisecting show we broke something with this commit.  Rendering the PDF from bug
434 is blank after this change.
I'll see if I cant figure it out.  Thanks.

Powered by Google App Engine
This is Rietveld 408576698