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

Unified Diff: core/include/fxcrt/fx_coordinates.h

Issue 1746243002: Speculative fix for windows broken at d5e7b355b8c4. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 10 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/include/fxcrt/fx_coordinates.h
diff --git a/core/include/fxcrt/fx_coordinates.h b/core/include/fxcrt/fx_coordinates.h
index e2800ffdb09eda6e2d9b5bb85870f040a7fb8ea9..2cd249310e8e2b2fa9dd43f574201723182fd1c0 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; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698