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

Unified Diff: cc/base/math_util.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: cc/base/math_util.h
diff --git a/cc/base/math_util.h b/cc/base/math_util.h
index a83ab4fdce34be03b56fd23ffe978262abbe69fb..c596348a0b740934a76be47445542c7792fe2ead 100644
--- a/cc/base/math_util.h
+++ b/cc/base/math_util.h
@@ -269,6 +269,9 @@ class CC_EXPORT MathUtil {
const gfx::Rect& r,
base::trace_event::TracedValue* res);
static void AddToTracedValue(const char* name,
+ const gfx::Point& q,
+ base::trace_event::TracedValue* res);
+ static void AddToTracedValue(const char* name,
const gfx::PointF& q,
base::trace_event::TracedValue* res);
static void AddToTracedValue(const char* name,

Powered by Google App Engine
This is Rietveld 408576698