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

Unified Diff: xfa/fwl/core/ifwl_listbox.cpp

Issue 2489013002: Continue cleaning IFWL classes (Closed)
Patch Set: Review updates Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: xfa/fwl/core/ifwl_listbox.cpp
diff --git a/xfa/fwl/core/ifwl_listbox.cpp b/xfa/fwl/core/ifwl_listbox.cpp
index aef74ae746f94d3ffc912bb02d7241d1364645ca..d23927fcd33a0d53ec930a1a18d9a726f9c2fbd1 100644
--- a/xfa/fwl/core/ifwl_listbox.cpp
+++ b/xfa/fwl/core/ifwl_listbox.cpp
@@ -1092,7 +1092,7 @@ bool IFWL_ListBox::OnScroll(IFWL_ScrollBar* pScrollBar,
uint32_t dwCode,
FX_FLOAT fPos) {
CFX_SizeF fs;
- pScrollBar->GetRange(fs.x, fs.y);
+ pScrollBar->GetRange(&(fs.x), &(fs.y));
Tom Sepez 2016/11/09 18:46:08 nitto
dsinclair 2016/11/10 17:56:04 Done.
FX_FLOAT iCurPos = pScrollBar->GetPos();
FX_FLOAT fStep = pScrollBar->GetStepSize();
switch (dwCode) {

Powered by Google App Engine
This is Rietveld 408576698