Index: cc/layer_quad.h |
diff --git a/cc/layer_quad.h b/cc/layer_quad.h |
index 9f4dfcf97e24ab8e23a4625cced154ae08f568dc..9c760611f57b44bd14c95766fba2369c961949c1 100644 |
--- a/cc/layer_quad.h |
+++ b/cc/layer_quad.h |
@@ -23,7 +23,7 @@ public: |
, m_z(0) |
{ |
} |
- Edge(const FloatPoint&, const FloatPoint&); |
+ Edge(const gfx::PointF&, const gfx::PointF&); |
float x() const { return m_x; } |
float y() const { return m_y; } |
@@ -60,7 +60,7 @@ public: |
} |
void scale(float s) { scale(s, s, s); } |
- FloatPoint intersect(const Edge& e) const |
+ gfx::PointF intersect(const Edge& e) const |
{ |
return FloatPoint( |
enne (OOO)
2012/10/29 22:23:47
Don't rely on implicit conversion here.
danakj
2012/10/31 19:45:43
Oh, thanks. I just missed that one.
|
(y() * e.z() - e.y() * z()) / (x() * e.y() - e.x() * y()), |