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

Issue 1747123002: Fix and enable lint checks. (Closed)

Created:
4 years, 9 months ago by dsinclair
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

Fix and enable lint checks. This CL fixes and enables: * readability/namespace * readability/multiline_string * readability/multiline_comment * readability/inheritance * readability/function * readability/braces R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/738b08ce6b9f80d93b815411b47c2b11c2f090f6

Patch Set 1 #

Total comments: 20

Patch Set 2 : Rebase to master #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+261 lines, -243 lines) Patch
M PRESUBMIT.py View 1 chunk +0 lines, -6 lines 0 comments Download
M core/include/fpdfapi/fpdf_resource.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M core/include/fxcrt/fx_basic.h View 1 chunk +5 lines, -6 lines 0 comments Download
M core/include/fxcrt/fx_memory.h View 1 chunk +1 line, -1 line 0 comments Download
M core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp View 1 chunk +1 line, -1 line 0 comments Download
M core/src/fpdfapi/fpdf_font/font_int.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M core/src/fpdfapi/fpdf_font/fpdf_font.cpp View 2 chunks +12 lines, -13 lines 0 comments Download
M core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/pageint.h View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp View 3 chunks +6 lines, -4 lines 0 comments Download
M core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp View 1 2 1 chunk +10 lines, -11 lines 0 comments Download
M core/src/fpdfapi/fpdf_render/render_int.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M core/src/fxcrt/fx_system_unittest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M core/src/fxge/dib/fx_dib_composite.cpp View 23 chunks +88 lines, -71 lines 0 comments Download
M core/src/fxge/dib/fx_dib_convert.cpp View 2 chunks +4 lines, -3 lines 0 comments Download
M core/src/fxge/dib/fx_dib_main.cpp View 5 chunks +9 lines, -12 lines 0 comments Download
M core/src/fxge/freetype/fx_freetype.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M core/src/fxge/ge/fx_ge_device.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M core/src/fxge/skia/fx_skia_blitter_new.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M core/src/fxge/win32/fx_win32_gdipext.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M fpdfsdk/src/fpdf_transformpage.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp View 1 2 1 chunk +4 lines, -5 lines 0 comments Download
M fpdfsdk/src/fsdk_baseform.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M fpdfsdk/src/javascript/Consts.cpp View 2 chunks +15 lines, -15 lines 0 comments Download
M fpdfsdk/src/javascript/JS_Runtime_Stub.cpp View 1 chunk +2 lines, -4 lines 0 comments Download
M fpdfsdk/src/javascript/JS_Value.h View 2 chunks +10 lines, -10 lines 0 comments Download
M fpdfsdk/src/javascript/JS_Value.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M samples/image_diff_png.cc View 1 chunk +1 line, -1 line 0 comments Download
M samples/pdfium_test.cc View 3 chunks +8 lines, -7 lines 0 comments Download
M xfa/include/fwl/lightwidget/picturebox.h View 1 chunk +1 line, -1 line 0 comments Download
M xfa/src/fdp/src/css/fde_cssdatatable.h View 1 chunk +1 line, -1 line 0 comments Download
M xfa/src/fdp/src/css/fde_cssdeclaration.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M xfa/src/fdp/src/fde/fde_object.h View 1 chunk +1 line, -1 line 0 comments Download
M xfa/src/fgas/src/font/fx_gefont.h View 1 chunk +1 line, -1 line 0 comments Download
M xfa/src/fgas/src/font/fx_stdfontmgr.h View 1 2 2 chunks +11 lines, -10 lines 0 comments Download
M xfa/src/fgas/src/font/fx_stdfontmgr.cpp View 2 chunks +7 lines, -5 lines 0 comments Download
M xfa/src/fgas/src/layout/fx_rtfbreak.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M xfa/src/fgas/src/layout/fx_rtfbreak.cpp View 1 2 2 chunks +7 lines, -7 lines 0 comments Download
M xfa/src/fwl/src/basewidget/fwl_comboboximp.cpp View 1 chunk +1 line, -1 line 0 comments Download
M xfa/src/fwl/src/basewidget/fwl_editimp.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M xfa/src/fwl/src/basewidget/include/fwl_tooltipctrlimp.h View 1 chunk +2 lines, -2 lines 0 comments Download
M xfa/src/fwl/src/core/fwl_noteimp.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M xfa/src/fxbarcode/BC_BarCode.cpp View 1 chunk +1 line, -1 line 0 comments Download
M xfa/src/fxbarcode/BC_TwoDimWriter.h View 1 chunk +1 line, -1 line 0 comments Download
M xfa/src/fxbarcode/oned/BC_OneDimWriter.h View 2 chunks +2 lines, -2 lines 0 comments Download
M xfa/src/fxfa/src/app/xfa_textlayout.h View 1 chunk +1 line, -1 line 0 comments Download
M xfa/src/fxfa/src/common/xfa_script.h View 1 chunk +1 line, -1 line 0 comments Download
M xfa/src/fxfa/src/fm2js/xfa_error.h View 1 chunk +2 lines, -2 lines 0 comments Download
M xfa/src/fxfa/src/fm2js/xfa_expression.h View 1 chunk +1 line, -1 line 0 comments Download
M xfa/src/fxfa/src/parser/xfa_layout_itemlayout.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M xfa/src/fxfa/src/parser/xfa_object_imp.cpp View 1 chunk +6 lines, -3 lines 0 comments Download
M xfa/src/fxjse/src/runtime.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
dsinclair
PTAL.
4 years, 9 months ago (2016-03-01 14:55:35 UTC) #2
Tom Sepez
https://codereview.chromium.org/1747123002/diff/1/core/include/fpdfapi/fpdf_resource.h File core/include/fpdfapi/fpdf_resource.h (right): https://codereview.chromium.org/1747123002/diff/1/core/include/fpdfapi/fpdf_resource.h#newcode169 core/include/fpdfapi/fpdf_resource.h:169: void LoadFontDescriptor(CPDF_Dictionary* dict); nit: |pDict| just to be consistent. ...
4 years, 9 months ago (2016-03-01 17:38:06 UTC) #3
dsinclair
https://codereview.chromium.org/1747123002/diff/1/core/include/fpdfapi/fpdf_resource.h File core/include/fpdfapi/fpdf_resource.h (right): https://codereview.chromium.org/1747123002/diff/1/core/include/fpdfapi/fpdf_resource.h#newcode169 core/include/fpdfapi/fpdf_resource.h:169: void LoadFontDescriptor(CPDF_Dictionary* dict); On 2016/03/01 17:38:05, Tom Sepez wrote: ...
4 years, 9 months ago (2016-03-01 18:11:52 UTC) #4
Tom Sepez
lgtm
4 years, 9 months ago (2016-03-01 19:43:01 UTC) #5
dsinclair
4 years, 9 months ago (2016-03-01 19:45:26 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
738b08ce6b9f80d93b815411b47c2b11c2f090f6 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698