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

Issue 1508883003: Replace more static casts in FWL (part 3) (Closed)

Created:
5 years ago by Tom Sepez
Modified:
5 years ago
Reviewers:
Lei Zhang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@xfa
Target Ref:
refs/heads/xfa
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 10

Patch Set 2 : Rebased #

Total comments: 1

Patch Set 3 : Stray file. #

Patch Set 4 : Whitespace #

Total comments: 12

Patch Set 5 : Fix comments in #6 #

Patch Set 6 : Remove Transfer() default args since they're always present. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+451 lines, -426 lines) Patch
M xfa/include/fwl/core/fwl_widgetmgr.h View 1 chunk +0 lines, -1 line 0 comments Download
M xfa/include/fxgraphics/fx_graphics.h View 1 2 3 4 5 2 chunks +3 lines, -4 lines 0 comments Download
M xfa/src/fwl/src/core/fwl_appimp.cpp View 1 2 chunks +4 lines, -2 lines 0 comments Download
M xfa/src/fwl/src/core/fwl_contentimp.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M xfa/src/fwl/src/core/fwl_formimp.cpp View 1 23 chunks +54 lines, -40 lines 0 comments Download
M xfa/src/fwl/src/core/fwl_gridimp.cpp View 1 2 3 4 47 chunks +88 lines, -72 lines 0 comments Download
M xfa/src/fwl/src/core/fwl_noteimp.cpp View 1 2 3 4 31 chunks +71 lines, -73 lines 0 comments Download
M xfa/src/fwl/src/core/fwl_panelimp.cpp View 1 1 chunk +4 lines, -6 lines 0 comments Download
M xfa/src/fwl/src/core/fwl_widgetimp.cpp View 1 12 chunks +42 lines, -37 lines 0 comments Download
M xfa/src/fwl/src/core/fwl_widgetmgrimp.cpp View 1 2 3 4 6 chunks +8 lines, -12 lines 0 comments Download
M xfa/src/fwl/src/core/include/fwl_noteimp.h View 1 1 chunk +10 lines, -6 lines 0 comments Download
M xfa/src/fwl/src/core/include/fwl_widgetmgrimp.h View 1 chunk +0 lines, -1 line 0 comments Download
M xfa/src/fwl/src/lightwidget/barcode.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M xfa/src/fwl/src/lightwidget/caret.cpp View 1 1 chunk +4 lines, -4 lines 0 comments Download
M xfa/src/fwl/src/lightwidget/checkbox.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M xfa/src/fwl/src/lightwidget/combobox.cpp View 1 11 chunks +51 lines, -52 lines 0 comments Download
M xfa/src/fwl/src/lightwidget/datetimepicker.cpp View 1 2 chunks +25 lines, -22 lines 0 comments Download
M xfa/src/fwl/src/lightwidget/edit.cpp View 1 1 chunk +41 lines, -39 lines 0 comments Download
M xfa/src/fwl/src/lightwidget/listbox.cpp View 1 2 3 4 18 chunks +36 lines, -46 lines 0 comments Download
M xfa/src/fxgraphics/src/fx_graphics.cpp View 1 2 3 4 3 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Tom Sepez
Lei, for review. https://codereview.chromium.org/1508883003/diff/1/xfa/include/fwl/core/fwl_note.h File xfa/include/fwl/core/fwl_note.h (right): https://codereview.chromium.org/1508883003/diff/1/xfa/include/fwl/core/fwl_note.h#newcode181 xfa/include/fwl/core/fwl_note.h:181: wsClass = L" ## classname ## ...
5 years ago (2015-12-08 00:47:06 UTC) #2
Lei Zhang
Isn't this going to conflict with 2 of your other CLs? https://codereview.chromium.org/1508883003/diff/1/xfa/include/fwl/core/fwl_note.h File xfa/include/fwl/core/fwl_note.h (right): ...
5 years ago (2015-12-09 04:22:12 UTC) #3
Tom Sepez
Yeah, this is going to have get rebased.
5 years ago (2015-12-09 20:41:19 UTC) #4
Tom Sepez
Lei, let's try again. Thanks. https://codereview.chromium.org/1508883003/diff/20001/xfa/src/fwl/src/core/fwl_gridimp.cpp File xfa/src/fwl/src/core/fwl_gridimp.cpp (right): https://codereview.chromium.org/1508883003/diff/20001/xfa/src/fwl/src/core/fwl_gridimp.cpp#newcode318 xfa/src/fwl/src/core/fwl_gridimp.cpp:318: CFWL_GridColRow* pColRow = reinterpret_cast<CFWL_GridColRow*>(hColRow); ...
5 years ago (2015-12-10 01:06:32 UTC) #5
Lei Zhang
https://codereview.chromium.org/1508883003/diff/60001/xfa/src/fwl/src/core/fwl_gridimp.cpp File xfa/src/fwl/src/core/fwl_gridimp.cpp (right): https://codereview.chromium.org/1508883003/diff/60001/xfa/src/fwl/src/core/fwl_gridimp.cpp#newcode216 xfa/src/fwl/src/core/fwl_gridimp.cpp:216: pGraphics->ConcatMatrix(const_cast<CFX_Matrix*>(pMatrix)); Just change ConcatMatrix() to take a const pointer ...
5 years ago (2015-12-10 01:14:44 UTC) #6
Tom Sepez
Ah, many of these still remained. sorry. PTAL. https://codereview.chromium.org/1508883003/diff/60001/xfa/src/fwl/src/core/fwl_gridimp.cpp File xfa/src/fwl/src/core/fwl_gridimp.cpp (right): https://codereview.chromium.org/1508883003/diff/60001/xfa/src/fwl/src/core/fwl_gridimp.cpp#newcode216 xfa/src/fwl/src/core/fwl_gridimp.cpp:216: pGraphics->ConcatMatrix(const_cast<CFX_Matrix*>(pMatrix)); ...
5 years ago (2015-12-10 18:08:03 UTC) #7
Lei Zhang
lgtm
5 years ago (2015-12-10 18:51:44 UTC) #8
Tom Sepez
5 years ago (2015-12-10 20:30:07 UTC) #10
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
33c8c7602f8981c32d37a9b2e25496401e914391 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698