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

Unified Diff: xfa/src/fwl/src/theme/widgettp.cpp

Issue 1422113003: Fix XFA compilation noise, part 1. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Nits. Created 5 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 | « xfa/src/fwl/src/theme/scrollbartp.cpp ('k') | xfa/src/fxbarcode/common/BC_CommonPerspectiveTransform.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fwl/src/theme/widgettp.cpp
diff --git a/xfa/src/fwl/src/theme/widgettp.cpp b/xfa/src/fwl/src/theme/widgettp.cpp
index 49b8f214e3edcd8d749a07243712023f2e7bddbd..b6052484d3f988a71b727994ebe4cf9cb113b0cc 100644
--- a/xfa/src/fwl/src/theme/widgettp.cpp
+++ b/xfa/src/fwl/src/theme/widgettp.cpp
@@ -350,7 +350,6 @@ void CFWL_WidgetTP::Draw3DCircle(CFX_Graphics* pGraphics,
_FWL_RETURN_IF_FAIL(pGraphics);
_FWL_RETURN_IF_FAIL(pRect);
pGraphics->SaveGraphState();
- FX_FLOAT fRadius = pRect->width / 2;
CFX_Path path;
path.Create();
path.AddArc(pRect->left, pRect->top, pRect->width, pRect->height,
@@ -450,8 +449,6 @@ void CFWL_WidgetTP::DrawAnnulusRect(CFX_Graphics* pGraphics,
pGraphics->SetFillColor(&cr);
CFX_Path path;
path.Create();
- FX_FLOAT fRight = pRect->right();
- FX_FLOAT fBottom = pRect->bottom();
CFX_RectF rtInner(*pRect);
rtInner.Deflate(fRingWidth, fRingWidth);
path.AddRectangle(rtInner.left, rtInner.top, rtInner.width, rtInner.height);
« no previous file with comments | « xfa/src/fwl/src/theme/scrollbartp.cpp ('k') | xfa/src/fxbarcode/common/BC_CommonPerspectiveTransform.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698