diff options
author | Lei Zhang <thestig@chromium.org> | 2018-04-10 19:29:25 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-10 19:29:25 +0000 |
commit | 7d865b611bf5b029723ec3143180d23c95c907e8 (patch) | |
tree | c9e01b101f39d11520385cdd0f005cd4b01a9794 /core/fxcrt/fx_coordinates_unittest.cpp | |
parent | e5c3ebd923a21c6c82bd214ca27a5d7396b852c2 (diff) | |
download | pdfium-7d865b611bf5b029723ec3143180d23c95c907e8.tar.xz |
Remove CFX_Rect.
It is rarely used and FX_RECT is the more common integer rect type.
Change-Id: I7c5b875321c2d587becedcd058bb3a57fd1f0b61
Reviewed-on: https://pdfium-review.googlesource.com/30053
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxcrt/fx_coordinates_unittest.cpp')
-rw-r--r-- | core/fxcrt/fx_coordinates_unittest.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/core/fxcrt/fx_coordinates_unittest.cpp b/core/fxcrt/fx_coordinates_unittest.cpp index 7c25d0da28..d77fe05e91 100644 --- a/core/fxcrt/fx_coordinates_unittest.cpp +++ b/core/fxcrt/fx_coordinates_unittest.cpp @@ -210,18 +210,6 @@ TEST(CFX_FloatRect, Print) { EXPECT_STREQ("rect[w 4.25 x h 3.25 (left 10.5, bot 20.5)]", os.str().c_str()); } -TEST(CFX_Rect, Print) { - std::ostringstream os; - CFX_Rect rect; - os << rect; - EXPECT_STREQ("rect[w 0 x h 0 (left 0, top 0)]", os.str().c_str()); - - os.str(""); - rect = CFX_Rect(10, 20, 4, 3); - os << rect; - EXPECT_STREQ("rect[w 4 x h 3 (left 10, top 20)]", os.str().c_str()); -} - TEST(CFX_RectF, Print) { std::ostringstream os; CFX_RectF rect; |