Index: ui/gfx/test/ui_cocoa_test_helper.h |
diff --git a/ui/gfx/test/ui_cocoa_test_helper.h b/ui/gfx/test/ui_cocoa_test_helper.h |
index da00de15a06b69b7878fb6af2d362345da0ba0e3..d597ac1e73566d3aaca056036290d7475db4301b 100644 |
--- a/ui/gfx/test/ui_cocoa_test_helper.h |
+++ b/ui/gfx/test/ui_cocoa_test_helper.h |
@@ -11,6 +11,7 @@ |
#include "base/compiler_specific.h" |
#import "base/mac/scoped_nsautorelease_pool.h" |
+#import "testing/gtest_mac.h" |
danakj
2015/05/28 20:59:40
This is weird, no? Why not just include this at th
kkhorimoto
2015/05/30 00:29:49
Done.
|
#include "testing/platform_test.h" |
// Background windows normally will not display things such as focus |
@@ -130,11 +131,6 @@ class CocoaTest : public PlatformTest { |
(actual >= (expected - CGFLOAT_EPSILON) && \ |
actual <= (expected + CGFLOAT_EPSILON)) |
-// A test support macro which ascertains if two CGFloats are equal. |
-#define EXPECT_CGFLOAT_EQ(expected, actual) \ |
- EXPECT_TRUE(CGFLOAT_EQ(expected, actual)) << \ |
- expected << " != " << actual |
- |
// A test support macro which compares two NSRects for equality taking |
// the float epsilon into consideration. |
#define EXPECT_NSRECT_EQ(expected, actual) \ |