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

Unified Diff: xfa/fwl/core/ifwl_edit.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
« no previous file with comments | « no previous file | xfa/fwl/core/ifwl_listbox.cpp » ('j') | xfa/fwl/core/ifwl_listbox.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/core/ifwl_edit.cpp
diff --git a/xfa/fwl/core/ifwl_edit.cpp b/xfa/fwl/core/ifwl_edit.cpp
index aa18d2f576cf01fb5db03111e61a78dab84c946b..a1266d6af112d3daafa357a03aa531c073884d85 100644
--- a/xfa/fwl/core/ifwl_edit.cpp
+++ b/xfa/fwl/core/ifwl_edit.cpp
@@ -1931,7 +1931,7 @@ bool IFWL_Edit::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 nit: overparenthesized.
dsinclair 2016/11/10 17:56:03 Done.
FX_FLOAT iCurPos = pScrollBar->GetPos();
FX_FLOAT fStep = pScrollBar->GetStepSize();
switch (dwCode) {
« no previous file with comments | « no previous file | xfa/fwl/core/ifwl_listbox.cpp » ('j') | xfa/fwl/core/ifwl_listbox.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698