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

Unified Diff: ui/gfx/interpolated_transform.h

Issue 1372253002: gfx: Make conversions from gfx::Point to PointF explicit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pointfconvert-gfx: . Created 5 years, 3 months 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
Index: ui/gfx/interpolated_transform.h
diff --git a/ui/gfx/interpolated_transform.h b/ui/gfx/interpolated_transform.h
index c7e9032dc47145430a51502c512300a47ac04e61..691ea97d94d7ddbfabf5abfdd226bf449e4b6d4a 100644
--- a/ui/gfx/interpolated_transform.h
+++ b/ui/gfx/interpolated_transform.h
@@ -163,10 +163,10 @@ class GFX_EXPORT InterpolatedScale : public InterpolatedTransform {
class GFX_EXPORT InterpolatedTranslation : public InterpolatedTransform {
public:
- InterpolatedTranslation(const gfx::Point& start_pos,
- const gfx::Point& end_pos);
- InterpolatedTranslation(const gfx::Point& start_pos,
- const gfx::Point& end_pos,
+ InterpolatedTranslation(const gfx::PointF& start_pos,
+ const gfx::PointF& end_pos);
+ InterpolatedTranslation(const gfx::PointF& start_pos,
+ const gfx::PointF& end_pos,
float start_time,
float end_time);
InterpolatedTranslation(const gfx::Point3F& start_pos,

Powered by Google App Engine
This is Rietveld 408576698