summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-02-29 11:52:40 -0800
committerTom Sepez <tsepez@chromium.org>2016-02-29 11:52:40 -0800
commitbf85bd7234e5fc0120315007dec085d741dcfb7a (patch)
treeb21928ed9947165d0c015245805720bbdfa58703 /core
parentd5e7b355b8c4c22ff770547797cbc536bdc95d5b (diff)
downloadpdfium-bf85bd7234e5fc0120315007dec085d741dcfb7a.tar.xz
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 .
Diffstat (limited to 'core')
-rw-r--r--core/include/fxcrt/fx_coordinates.h4
1 files 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; }