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

Unified Diff: cc/layer_quad_unittest.cc

Issue 11358050: Remove most remaining webcore points and sizes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebasedd Created 8 years, 1 month 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 | « cc/layer_impl.cc ('k') | cc/layer_sorter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_quad_unittest.cc
diff --git a/cc/layer_quad_unittest.cc b/cc/layer_quad_unittest.cc
index 137d1793f7d2568cb9a409f7530049e8473e07dd..8aa9adb61cf01f7b9acc712eaffd306bf003160d 100644
--- a/cc/layer_quad_unittest.cc
+++ b/cc/layer_quad_unittest.cc
@@ -14,10 +14,10 @@ namespace {
TEST(LayerQuadTest, FloatQuadConversion)
{
- FloatPoint p1(-0.5, -0.5);
- FloatPoint p2( 0.5, -0.5);
- FloatPoint p3( 0.5, 0.5);
- FloatPoint p4(-0.5, 0.5);
+ gfx::PointF p1(-0.5, -0.5);
+ gfx::PointF p2( 0.5, -0.5);
+ gfx::PointF p3( 0.5, 0.5);
+ gfx::PointF p4(-0.5, 0.5);
FloatQuad quadCW(p1, p2, p3, p4);
LayerQuad layerQuadCW(quadCW);
@@ -30,10 +30,10 @@ TEST(LayerQuadTest, FloatQuadConversion)
TEST(LayerQuadTest, Inflate)
{
- FloatPoint p1(-0.5, -0.5);
- FloatPoint p2( 0.5, -0.5);
- FloatPoint p3( 0.5, 0.5);
- FloatPoint p4(-0.5, 0.5);
+ gfx::PointF p1(-0.5, -0.5);
+ gfx::PointF p2( 0.5, -0.5);
+ gfx::PointF p3( 0.5, 0.5);
+ gfx::PointF p4(-0.5, 0.5);
FloatQuad quad(p1, p2, p3, p4);
LayerQuad layerQuad(quad);
« no previous file with comments | « cc/layer_impl.cc ('k') | cc/layer_sorter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698