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

Issue 1950973003: Cleanup CFWL_ThemePart data. (Closed)

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

Description

Cleanup CFWL_ThemePart data. The m_dwData pointer was being used as a generic way to pass around data. There were only two places we were reading that data. This Cl changes to have two specific flags and removes the generic pointer. Committed: https://pdfium.googlesource.com/pdfium/+/b7675f63684ebff68c688a1c7b160596b6747c3e

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -28 lines) Patch
M xfa/fwl/basewidget/fwl_editimp.cpp View 1 2 chunks +3 lines, -2 lines 0 comments Download
M xfa/fwl/basewidget/fwl_listboximp.cpp View 1 6 chunks +5 lines, -8 lines 0 comments Download
M xfa/fwl/basewidget/ifwl_edit.h View 1 chunk +0 lines, -2 lines 0 comments Download
M xfa/fwl/basewidget/ifwl_listbox.h View 1 chunk +0 lines, -6 lines 0 comments Download
M xfa/fwl/core/cfwl_themepart.h View 2 chunks +4 lines, -2 lines 0 comments Download
M xfa/fwl/core/fwl_formimp.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M xfa/fwl/theme/cfwl_edittp.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M xfa/fwl/theme/cfwl_formtp.h View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fwl/theme/cfwl_formtp.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
dsinclair
PTAL. https://codereview.chromium.org/1950973003/diff/1/xfa/fwl/basewidget/fwl_listboximp.cpp File xfa/fwl/basewidget/fwl_listboximp.cpp (left): https://codereview.chromium.org/1950973003/diff/1/xfa/fwl/basewidget/fwl_listboximp.cpp#oldcode650 xfa/fwl/basewidget/fwl_listboximp.cpp:650: param.m_dwData = (uint32_t)(uintptr_t)(&itemData); This strikes me as a ...
4 years, 7 months ago (2016-05-04 16:31:01 UTC) #2
Tom Sepez
https://codereview.chromium.org/1950973003/diff/1/xfa/fwl/theme/cfwl_formtp.cpp File xfa/fwl/theme/cfwl_formtp.cpp (right): https://codereview.chromium.org/1950973003/diff/1/xfa/fwl/theme/cfwl_formtp.cpp#newcode136 xfa/fwl/theme/cfwl_formtp.cpp:136: pParams->m_bMaximize, &pParams->m_matrix, iActive); On 2016/05/04 16:31:01, dsinclair wrote: > ...
4 years, 7 months ago (2016-05-04 17:41:18 UTC) #3
dsinclair
https://codereview.chromium.org/1950973003/diff/1/xfa/fwl/theme/cfwl_formtp.cpp File xfa/fwl/theme/cfwl_formtp.cpp (right): https://codereview.chromium.org/1950973003/diff/1/xfa/fwl/theme/cfwl_formtp.cpp#newcode136 xfa/fwl/theme/cfwl_formtp.cpp:136: pParams->m_bMaximize, &pParams->m_matrix, iActive); On 2016/05/04 17:41:18, Tom Sepez wrote: ...
4 years, 7 months ago (2016-05-04 18:07:39 UTC) #4
Tom Sepez
lgtm
4 years, 7 months ago (2016-05-04 20:47:09 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1950973003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1950973003/20001
4 years, 7 months ago (2016-05-04 20:51:41 UTC) #7
commit-bot: I haz the power
4 years, 7 months ago (2016-05-04 21:11:17 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/b7675f63684ebff68c688a1c7b160596b674...

Powered by Google App Engine
This is Rietveld 408576698