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

Unified Diff: ui/gfx/geometry/rect_unittest.cc

Issue 1061733002: Remove windows/mac/ios specific code from //ui (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix default try set Created 5 years, 9 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 | « ui/gfx/geometry/rect.cc ('k') | ui/gfx/geometry/size.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/geometry/rect_unittest.cc
diff --git a/ui/gfx/geometry/rect_unittest.cc b/ui/gfx/geometry/rect_unittest.cc
index 8c8370b6c6ea7fe4fc08b95100d43686ce9e2585..83890cc8fb369354a378650983a3b0f3a9fb4787 100644
--- a/ui/gfx/geometry/rect_unittest.cc
+++ b/ui/gfx/geometry/rect_unittest.cc
@@ -10,10 +10,6 @@
#include "ui/gfx/geometry/rect_conversions.h"
#include "ui/gfx/test/gfx_util.h"
-#if defined(OS_WIN)
-#include <windows.h>
-#endif
-
namespace gfx {
TEST(RectTest, Contains) {
@@ -700,15 +696,6 @@ TEST(RectTest, ScaleToEnclosingRect) {
}
}
-#if defined(OS_WIN)
-TEST(RectTest, ConstructAndAssign) {
- const RECT rect_1 = { 0, 0, 10, 10 };
- const RECT rect_2 = { 0, 0, -10, -10 };
- Rect test1(rect_1);
- Rect test2(rect_2);
-}
-#endif
-
TEST(RectTest, ToRectF) {
// Check that implicit conversion from integer to float compiles.
Rect a(10, 20, 30, 40);
« no previous file with comments | « ui/gfx/geometry/rect.cc ('k') | ui/gfx/geometry/size.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698