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

Issue 2012143003: Remove one (of several) usages of SetPrivateData from IFWL_Widget (Closed)

Created:
4 years, 7 months ago by Tom Sepez
Modified:
4 years, 6 months ago
Reviewers:
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

Remove one (of several) usages of SetPrivateData from IFWL_Widget Allow an upper layer to store an "event key" directly in the widget. Also fix some dubious logic in key allocation. Committed: https://pdfium.googlesource.com/pdfium/+/d2b93dfa15dbb7fd42b7cf05fc248d7f5c87f1ef

Patch Set 1 #

Total comments: 4

Patch Set 2 : Remove casts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -50 lines) Patch
M xfa/fwl/core/fwl_noteimp.cpp View 3 chunks +7 lines, -10 lines 0 comments Download
M xfa/fwl/core/fwl_widgetimp.h View 2 chunks +4 lines, -0 lines 0 comments Download
M xfa/fwl/core/fwl_widgetimp.cpp View 1 3 chunks +52 lines, -40 lines 0 comments Download
M xfa/fwl/core/ifwl_widget.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
Tom Sepez
https://codereview.chromium.org/2012143003/diff/1/xfa/fwl/core/fwl_noteimp.cpp File xfa/fwl/core/fwl_noteimp.cpp (left): https://codereview.chromium.org/2012143003/diff/1/xfa/fwl/core/fwl_noteimp.cpp#oldcode111 xfa/fwl/core/fwl_noteimp.cpp:111: void* random = FX_Random_MT_Start(0); Note: FX's random number generator ...
4 years, 7 months ago (2016-05-26 00:40:10 UTC) #1
Tom Sepez
Lei, for review. Kinda scary.
4 years, 7 months ago (2016-05-26 00:40:37 UTC) #4
Tom Sepez
https://codereview.chromium.org/2012143003/diff/1/xfa/fwl/core/fwl_noteimp.cpp File xfa/fwl/core/fwl_noteimp.cpp (left): https://codereview.chromium.org/2012143003/diff/1/xfa/fwl/core/fwl_noteimp.cpp#oldcode111 xfa/fwl/core/fwl_noteimp.cpp:111: void* random = FX_Random_MT_Start(0); On 2016/05/26 00:40:10, Tom Sepez ...
4 years, 7 months ago (2016-05-26 00:42:20 UTC) #5
Lei Zhang
lgtm https://codereview.chromium.org/2012143003/diff/1/xfa/fwl/core/fwl_widgetimp.cpp File xfa/fwl/core/fwl_widgetimp.cpp (right): https://codereview.chromium.org/2012143003/diff/1/xfa/fwl/core/fwl_widgetimp.cpp#newcode102 xfa/fwl/core/fwl_widgetimp.cpp:102: return static_cast<CFWL_WidgetImp*>(GetImpl())->GetEventKey(); GetImpl() and many other calls to ...
4 years, 7 months ago (2016-05-26 01:32:20 UTC) #6
Tom Sepez
https://codereview.chromium.org/2012143003/diff/1/xfa/fwl/core/fwl_widgetimp.cpp File xfa/fwl/core/fwl_widgetimp.cpp (right): https://codereview.chromium.org/2012143003/diff/1/xfa/fwl/core/fwl_widgetimp.cpp#newcode102 xfa/fwl/core/fwl_widgetimp.cpp:102: return static_cast<CFWL_WidgetImp*>(GetImpl())->GetEventKey(); On 2016/05/26 01:32:20, Lei Zhang wrote: > ...
4 years, 6 months ago (2016-05-26 16:15:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2012143003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2012143003/20001
4 years, 6 months ago (2016-05-26 16:16:06 UTC) #10
commit-bot: I haz the power
4 years, 6 months ago (2016-05-26 16:40:35 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/d2b93dfa15dbb7fd42b7cf05fc248d7f5c87...

Powered by Google App Engine
This is Rietveld 408576698