From bf85bd7234e5fc0120315007dec085d741dcfb7a Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 29 Feb 2016 11:52:40 -0800 Subject: Speculative fix for windows broken at d5e7b355b8c4. I'm guessing that |small| is #defined somewhere. TBR=dsinclair@chromium.org Review URL: https://codereview.chromium.org/1746243002 . --- core/include/fxcrt/fx_coordinates.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/include/fxcrt/fx_coordinates.h b/core/include/fxcrt/fx_coordinates.h index e2800ffdb0..2cd249310e 100644 --- a/core/include/fxcrt/fx_coordinates.h +++ b/core/include/fxcrt/fx_coordinates.h @@ -143,8 +143,8 @@ struct FX_RECT { FX_RECT(int l, int t, int r, int b) : left(l), top(t), right(r), bottom(b) {} - explicit FX_RECT(const FX_SMALL_RECT& small) - : FX_RECT(small.left, small.top, small.right, small.bottom) {} + explicit FX_RECT(const FX_SMALL_RECT& other) + : FX_RECT(other.left, other.top, other.right, other.bottom) {} int Width() const { return right - left; } int Height() const { return bottom - top; } -- cgit v1.2.3