Chromium Code Reviews

Unified Diff: xfa/fwl/cfwl_caret.cpp

Issue 2560873005: Cleanup CFWL_Widget code to return CFX_RectFs where appropriate (Closed)
Patch Set: Review feedback Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | xfa/fwl/cfwl_checkbox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/cfwl_caret.cpp
diff --git a/xfa/fwl/cfwl_caret.cpp b/xfa/fwl/cfwl_caret.cpp
index fdac8ec040d115561505761730a1468d55db1a57..4a95b0924b3009626881b552bd0d66b162ccf56a 100644
--- a/xfa/fwl/cfwl_caret.cpp
+++ b/xfa/fwl/cfwl_caret.cpp
@@ -108,5 +108,5 @@ void CFWL_Caret::Timer::Run(CFWL_TimerInfo* pTimerInfo) {
CFX_RectF rt = pCaret->GetWidgetRect();
rt.Set(0, 0, rt.width + 1, rt.height);
- pCaret->Repaint(&rt);
+ pCaret->RepaintRect(rt);
}
« no previous file with comments | « no previous file | xfa/fwl/cfwl_checkbox.cpp » ('j') | no next file with comments »

Powered by Google App Engine