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

Issue 2564443003: Change CFWL_Widget::GetMatrix to return the matrix (Closed)

Created:
4 years ago by dsinclair
Modified:
4 years ago
Reviewers:
Tom Sepez, Wei Li
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Change CFWL_Widget::GetMatrix to return the matrix This CL switches to using a return value instead of an out parameter. The global flag was also removed and the call sites changed to just SetIdentity as appropriate. Committed: https://pdfium.googlesource.com/pdfium/+/1babeeed9c259b9d486b4cbee949253769d18fff

Patch Set 1 #

Total comments: 2

Patch Set 2 : Re-add check #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -15 lines) Patch
M xfa/fwl/cfwl_widget.h View 1 chunk +1 line, -1 line 3 comments Download
M xfa/fwl/cfwl_widget.cpp View 1 5 chunks +11 lines, -12 lines 1 comment Download
M xfa/fwl/cfwl_widgetmgr.cpp View 2 chunks +1 line, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 17 (9 generated)
dsinclair
PTAL. https://codereview.chromium.org/2564443003/diff/1/xfa/fwl/cfwl_widget.cpp File xfa/fwl/cfwl_widget.cpp (left): https://codereview.chromium.org/2564443003/diff/1/xfa/fwl/cfwl_widget.cpp#oldcode226 xfa/fwl/cfwl_widget.cpp:226: m1.SetIdentity(); CFX_Matrix constructor calls SetIdentity() https://codereview.chromium.org/2564443003/diff/1/xfa/fwl/cfwl_widgetmgr.cpp File xfa/fwl/cfwl_widgetmgr.cpp ...
4 years ago (2016-12-08 19:02:46 UTC) #4
Tom Sepez
lgtm https://codereview.chromium.org/2564443003/diff/20001/xfa/fwl/cfwl_widget.cpp File xfa/fwl/cfwl_widget.cpp (left): https://codereview.chromium.org/2564443003/diff/20001/xfa/fwl/cfwl_widget.cpp#oldcode238 xfa/fwl/cfwl_widget.cpp:238: if (!bGlobal) { really? really? sigh. https://codereview.chromium.org/2564443003/diff/20001/xfa/fwl/cfwl_widget.h File ...
4 years ago (2016-12-08 19:23:07 UTC) #5
dsinclair
PTAL. The const had some ripples, had to add a const_cast, please take another look. ...
4 years ago (2016-12-08 22:00:14 UTC) #8
Tom Sepez
https://codereview.chromium.org/2564443003/diff/40001/xfa/fwl/cfwl_widget.h File xfa/fwl/cfwl_widget.h (right): https://codereview.chromium.org/2564443003/diff/40001/xfa/fwl/cfwl_widget.h#newcode164 xfa/fwl/cfwl_widget.h:164: CFWL_Widget* GetParent() const { return m_pWidgetMgr->GetParentWidget(this); } I think ...
4 years ago (2016-12-09 00:29:23 UTC) #9
dsinclair
On 2016/12/09 00:29:23, Tom Sepez wrote: > https://codereview.chromium.org/2564443003/diff/40001/xfa/fwl/cfwl_widget.h > File xfa/fwl/cfwl_widget.h (right): > > https://codereview.chromium.org/2564443003/diff/40001/xfa/fwl/cfwl_widget.h#newcode164 ...
4 years ago (2016-12-09 03:43:55 UTC) #11
dsinclair
https://codereview.chromium.org/2564443003/diff/20001/xfa/fwl/cfwl_widget.h File xfa/fwl/cfwl_widget.h (right): https://codereview.chromium.org/2564443003/diff/20001/xfa/fwl/cfwl_widget.h#newcode94 xfa/fwl/cfwl_widget.h:94: CFX_Matrix GetMatrix(); On 2016/12/08 22:00:14, dsinclair wrote: > On ...
4 years ago (2016-12-09 03:44:38 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2564443003/20001
4 years ago (2016-12-09 03:44:46 UTC) #14
commit-bot: I haz the power
4 years ago (2016-12-09 03:45:05 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/1babeeed9c259b9d486b4cbee949253769d1...

Powered by Google App Engine
This is Rietveld 408576698