diff options
author | hush <hush@chromium.org> | 2014-12-04 14:37:32 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-04 22:38:02 +0000 |
commit | 6b61421f5b702f90617ffeff3ed83ab044c55ad9 (patch) | |
tree | 58594f58c441c2f7675be1bd42b2e90ee4c0f802 /cc/blink | |
parent | 258cddfdb22627e42793771dc3a01f5b1cb1cc07 (diff) | |
download | chromium_src-6b61421f5b702f90617ffeff3ed83ab044c55ad9.zip chromium_src-6b61421f5b702f90617ffeff3ed83ab044c55ad9.tar.gz chromium_src-6b61421f5b702f90617ffeff3ed83ab044c55ad9.tar.bz2 |
Use EXPECT_EQ when possible.
EXPECT_RECT_EQ, EXPECT_SIZE_EQ, EXPECT_POINT_EQ, EXPECT_POINT3F_EQ
could be replaced by EXPECT_EQ.
Follow up of https://codereview.chromium.org/751453005/
Review URL: https://codereview.chromium.org/774763004
Cr-Commit-Position: refs/heads/master@{#306913}
Diffstat (limited to 'cc/blink')
-rw-r--r-- | cc/blink/web_layer_impl_fixed_bounds_unittest.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cc/blink/web_layer_impl_fixed_bounds_unittest.cc b/cc/blink/web_layer_impl_fixed_bounds_unittest.cc index ceeb311..083b0cf 100644 --- a/cc/blink/web_layer_impl_fixed_bounds_unittest.cc +++ b/cc/blink/web_layer_impl_fixed_bounds_unittest.cc @@ -53,9 +53,8 @@ void CheckBoundsScaleSimple(WebLayerImplFixedBounds* layer, original_point.y() * bounds.height / fixed_bounds.height(), original_point.z()); // Test if the bounds scale is correctly applied in transform. - EXPECT_POINT3F_EQ( - scaled_point, - TransformPoint(layer->layer()->transform(), original_point)); + EXPECT_EQ(scaled_point, + TransformPoint(layer->layer()->transform(), original_point)); } TEST(WebLayerImplFixedBoundsTest, BoundsScaleSimple) { |