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

Unified Diff: xfa/fwl/cfwl_picturebox.cpp

Issue 2560873005: Cleanup CFWL_Widget code to return CFX_RectFs where appropriate (Closed)
Patch Set: Created 4 years 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/cfwl_picturebox.cpp
diff --git a/xfa/fwl/cfwl_picturebox.cpp b/xfa/fwl/cfwl_picturebox.cpp
index b62aac942eda4d00bf651649558e8b87b6cb06d1..9c1f033a778ddd2b3edc45965d23d1a389d41d21 100644
--- a/xfa/fwl/cfwl_picturebox.cpp
+++ b/xfa/fwl/cfwl_picturebox.cpp
@@ -29,7 +29,7 @@ void CFWL_PictureBox::Update() {
if (!m_pProperties->m_pThemeProvider)
m_pProperties->m_pThemeProvider = GetAvailableTheme();
- GetClientRect(m_rtClient);
+ m_rtClient = GetClientRect();
}
void CFWL_PictureBox::DrawWidget(CFX_Graphics* pGraphics,

Powered by Google App Engine
This is Rietveld 408576698