diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-31 05:15:43 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-31 05:15:43 +0000 |
commit | 2771b1c10df9718860f95e8674914d9e0b490a06 (patch) | |
tree | b4716dd235d9b9ed6e5d7ef5ebc7228d54a67125 /ash/magnifier | |
parent | a692d1340352d1ed6a8612fe2ad125be300c278a (diff) | |
download | chromium_src-2771b1c10df9718860f95e8674914d9e0b490a06.zip chromium_src-2771b1c10df9718860f95e8674914d9e0b490a06.tar.gz chromium_src-2771b1c10df9718860f95e8674914d9e0b490a06.tar.bz2 |
ui: Remove implicit flooring from Point3f and rename the class to Point3F
The Point3F::AsPoint() method converts from float to integer by doing an
implicit floor() on the values. Instead, we should have AsPointF() return
floating point values, and use the ToFlooredPoint() conversion method to
explicitly floor the values at the call-site if desired.
Also, move the point3.h header to point3_f.h so that it is consistent with
other geometry header file namings.
BUG=147395
R=sky
Review URL: https://chromiumcodereview.appspot.com/11301043
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165102 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/magnifier')
-rw-r--r-- | ash/magnifier/magnification_controller.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ash/magnifier/magnification_controller.cc b/ash/magnifier/magnification_controller.cc index ce5e4fe..0ea0ecd 100644 --- a/ash/magnifier/magnification_controller.cc +++ b/ash/magnifier/magnification_controller.cc @@ -18,7 +18,6 @@ #include "ui/compositor/layer.h" #include "ui/compositor/layer_animation_observer.h" #include "ui/compositor/scoped_layer_animation_settings.h" -#include "ui/gfx/point3.h" #include "ui/gfx/screen.h" namespace { |