| Index: cc/resources/layer_quad.h
|
| diff --git a/cc/resources/layer_quad.h b/cc/resources/layer_quad.h
|
| index 74336453683f4c94dffc589e5e5145e07c455180..328f6668482361be54d76a1b8b6e7576e20177b6 100644
|
| --- a/cc/resources/layer_quad.h
|
| +++ b/cc/resources/layer_quad.h
|
| @@ -20,7 +20,7 @@ namespace cc {
|
|
|
| class CC_EXPORT LayerQuad {
|
| public:
|
| - class Edge {
|
| + class CC_EXPORT Edge {
|
| public:
|
| Edge() : x_(0), y_(0), z_(0), degenerate_(false) {}
|
| Edge(const gfx::PointF& p, const gfx::PointF& q);
|
| @@ -59,11 +59,7 @@ class CC_EXPORT LayerQuad {
|
|
|
| bool degenerate() const { return degenerate_; }
|
|
|
| - gfx::PointF Intersect(const Edge& e) const {
|
| - return gfx::PointF(
|
| - (y() * e.z() - e.y() * z()) / (x() * e.y() - e.x() * y()),
|
| - (x() * e.z() - e.x() * z()) / (e.x() * y() - x() * e.y()));
|
| - }
|
| + gfx::PointF Intersect(const Edge& e) const;
|
|
|
| private:
|
| float x_;
|
|
|