| Index: ui/gfx/quad_f.cc
|
| diff --git a/ui/gfx/quad_f.cc b/ui/gfx/quad_f.cc
|
| index aba67a3248334e23b56f0f656d21a7b26d216097..6e8cfe394ab11a8edccc1bbda501af31e2747c9e 100644
|
| --- a/ui/gfx/quad_f.cc
|
| +++ b/ui/gfx/quad_f.cc
|
| @@ -4,7 +4,6 @@
|
|
|
| #include "ui/gfx/quad_f.h"
|
|
|
| -#include <cmath>
|
| #include <limits>
|
|
|
| #include "base/stringprintf.h"
|
| @@ -92,14 +91,6 @@ bool QuadF::Contains(const PointF& point) const {
|
| || PointIsInTriangle(point, p1_, p3_, p4_);
|
| }
|
|
|
| -RectF QuadF::BoundingBox() const {
|
| - float rl = std::min(std::min(p1_.x(), p2_.x()), std::min(p3_.x(), p4_.x()));
|
| - float rr = std::max(std::max(p1_.x(), p2_.x()), std::max(p3_.x(), p4_.x()));
|
| - float rt = std::min(std::min(p1_.y(), p2_.y()), std::min(p3_.y(), p4_.y()));
|
| - float rb = std::max(std::max(p1_.y(), p2_.y()), std::max(p3_.y(), p4_.y()));
|
| - return RectF(rl, rt, rr - rl, rb - rt);
|
| -}
|
| -
|
| void QuadF::Scale(float x_scale, float y_scale) {
|
| p1_.Scale(x_scale, y_scale);
|
| p2_.Scale(x_scale, y_scale);
|
|
|