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

Issue 2060913003: Make code compile with clang_use_chrome_plugin (part II) (Closed)

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

Description

Make code compile with clang_use_chrome_plugin (part II) This change contains files in core directory which were not covered in part I. This is part of the efforts to make PDFium code compilable by Clang chromium style plugins. The changes are mainly the following: -- move inline constructor/destructor of complex class/struct out-of-line; -- add constructor/destructor of complex class/struct if not explicitly defined; -- add explicit out-of-line copy constructor when needed; -- move inline virtual functions out-of-line; -- Properly mark virtual functions with 'override'; -- some minor cleanups; BUG=pdfium:469 Committed: https://pdfium.googlesource.com/pdfium/+/f4bb580add3824196dc49cd7de2f7d051019ede8

Patch Set 1 : base #

Total comments: 2

Patch Set 2 : win fix #

Patch Set 3 : revert some string changes #

Total comments: 10

Patch Set 4 : address comments #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1186 lines, -644 lines) Patch
M BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A core/fpdfdoc/clines.h View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
A core/fpdfdoc/clines.cpp View 1 2 3 1 chunk +50 lines, -0 lines 0 comments Download
M core/fpdfdoc/cpdf_variabletext.cpp View 1 chunk +8 lines, -0 lines 0 comments Download
M core/fpdfdoc/csection.h View 1 chunk +1 line, -0 lines 0 comments Download
M core/fpdfdoc/doc_basic.cpp View 7 chunks +40 lines, -0 lines 0 comments Download
M core/fpdfdoc/doc_formcontrol.cpp View 1 chunk +0 lines, -4 lines 0 comments Download
M core/fpdfdoc/doc_tagged.cpp View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
M core/fpdfdoc/doc_vt.cpp View 3 chunks +25 lines, -0 lines 0 comments Download
M core/fpdfdoc/include/cpdf_variabletext.h View 2 chunks +4 lines, -6 lines 0 comments Download
M core/fpdfdoc/include/cpvt_word.h View 2 chunks +11 lines, -9 lines 0 comments Download
M core/fpdfdoc/include/fpdf_doc.h View 3 chunks +13 lines, -19 lines 0 comments Download
M core/fpdfdoc/pdf_vt.h View 2 chunks +11 lines, -49 lines 0 comments Download
M core/fpdfdoc/tagged_int.h View 1 chunk +7 lines, -9 lines 0 comments Download
M core/fpdftext/fpdf_text_int.cpp View 1 2 3 4 2 chunks +5 lines, -2 lines 0 comments Download
M core/fpdftext/include/cpdf_textpage.h View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M core/fpdftext/include/cpdf_textpagefind.h View 2 chunks +1 line, -5 lines 0 comments Download
M core/fxcodec/codec/ccodec_iccmodule.h View 1 chunk +1 line, -0 lines 0 comments Download
M core/fxcodec/codec/fx_codec.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M core/fxcodec/codec/fx_codec_icc.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M core/fxcodec/include/fx_codec.h View 1 chunk +1 line, -0 lines 0 comments Download
M core/fxcodec/lgif/fx_gif.h View 5 chunks +12 lines, -3 lines 0 comments Download
M core/fxcodec/lgif/fx_gif.cpp View 1 chunk +19 lines, -0 lines 0 comments Download
M core/fxcrt/extension.h View 3 chunks +26 lines, -217 lines 0 comments Download
M core/fxcrt/fx_basic_bstring.cpp View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M core/fxcrt/fx_basic_util.cpp View 1 chunk +4 lines, -2 lines 0 comments Download
M core/fxcrt/fx_basic_wstring.cpp View 1 2 2 chunks +12 lines, -0 lines 0 comments Download
M core/fxcrt/fx_bidi.h View 1 chunk +2 lines, -0 lines 0 comments Download
M core/fxcrt/fx_bidi.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M core/fxcrt/fx_extension.cpp View 1 chunk +260 lines, -0 lines 0 comments Download
M core/fxcrt/fx_xml_parser.cpp View 2 chunks +114 lines, -0 lines 0 comments Download
M core/fxcrt/include/fx_string.h View 1 2 2 chunks +8 lines, -10 lines 0 comments Download
M core/fxcrt/include/fx_ucd.h View 3 chunks +18 lines, -13 lines 0 comments Download
M core/fxcrt/include/fx_xml.h View 1 chunk +6 lines, -2 lines 0 comments Download
M core/fxcrt/xml_int.h View 4 chunks +33 lines, -62 lines 0 comments Download
M core/fxge/agg/fx_agg_driver.h View 3 chunks +3 lines, -3 lines 0 comments Download
M core/fxge/agg/fx_agg_driver.cpp View 4 chunks +94 lines, -0 lines 0 comments Download
M core/fxge/ge/fx_ge_device.cpp View 8 chunks +29 lines, -4 lines 0 comments Download
M core/fxge/ge/fx_ge_fontmap.cpp View 2 chunks +16 lines, -1 line 0 comments Download
M core/fxge/ge/fx_ge_path.cpp View 18 chunks +44 lines, -23 lines 0 comments Download
M core/fxge/ge/fx_ge_text.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M core/fxge/ge/fx_text_int.h View 1 chunk +2 lines, -58 lines 0 comments Download
M core/fxge/include/fx_font.h View 3 chunks +51 lines, -1 line 0 comments Download
M core/fxge/include/fx_ge.h View 11 chunks +29 lines, -56 lines 0 comments Download
M core/fxge/include/fx_ge_win32.h View 3 chunks +6 lines, -19 lines 0 comments Download
M core/fxge/win32/fx_win32_device.cpp View 1 2 chunks +14 lines, -0 lines 0 comments Download
M core/fxge/win32/fx_win32_dib.cpp View 6 chunks +15 lines, -0 lines 0 comments Download
M core/fxge/win32/fx_win32_dwrite.cpp View 17 chunks +60 lines, -21 lines 0 comments Download
M core/fxge/win32/fx_win32_gdipext.cpp View 10 chunks +44 lines, -38 lines 0 comments Download
M core/fxge/win32/win32_int.h View 2 chunks +2 lines, -4 lines 0 comments Download
M pdfium.gyp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
Wei Li
Pls review, thanks. https://codereview.chromium.org/2060913003/diff/160001/core/fpdfdoc/clines.h File core/fpdfdoc/clines.h (right): https://codereview.chromium.org/2060913003/diff/160001/core/fpdfdoc/clines.h#newcode12 core/fpdfdoc/clines.h:12: class CLines final { Separated from ...
4 years, 6 months ago (2016-06-14 19:35:36 UTC) #10
dsinclair
lgtm w/ nits. https://codereview.chromium.org/2060913003/diff/200001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2060913003/diff/200001/BUILD.gn#newcode198 BUILD.gn:198: "core/fpdfdoc/clines.cpp", add "core/fpdfdoc/clines.h", https://codereview.chromium.org/2060913003/diff/200001/core/fpdfdoc/clines.cpp File core/fpdfdoc/clines.cpp ...
4 years, 6 months ago (2016-06-14 20:12:48 UTC) #11
Lei Zhang
lgtm
4 years, 6 months ago (2016-06-14 20:33:07 UTC) #12
Wei Li
thanks https://codereview.chromium.org/2060913003/diff/200001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2060913003/diff/200001/BUILD.gn#newcode198 BUILD.gn:198: "core/fpdfdoc/clines.cpp", On 2016/06/14 20:12:48, dsinclair wrote: > add ...
4 years, 6 months ago (2016-06-14 22:00:54 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2060913003/240001
4 years, 6 months ago (2016-06-14 23:08:09 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:240001) as https://pdfium.googlesource.com/pdfium/+/f4bb580add3824196dc49cd7de2f7d051019ede8
4 years, 6 months ago (2016-06-15 00:21:21 UTC) #18
caryclark
4 years, 6 months ago (2016-06-15 17:03:32 UTC) #20
Message was sent while issue was closed.
This change broke Skia. I'll put together a CL to fix it.

Powered by Google App Engine
This is Rietveld 408576698