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

Unified Diff: cc/base/math_util.cc

Issue 394193003: Implement HiDPI and pinch-zoom scaling of filter params (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable pixel test for Android Created 6 years, 4 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.cc
diff --git a/cc/base/math_util.cc b/cc/base/math_util.cc
index fd8e796e3547310123546bc4f22bc94247a4be4f..9bcbb8e0f418fef9cbdd7ce2b822abc15b62ad45 100644
--- a/cc/base/math_util.cc
+++ b/cc/base/math_util.cc
@@ -624,6 +624,12 @@ void MathUtil::AddToTracedValue(const gfx::Vector2d& v,
res->AppendInteger(v.y());
}
+void MathUtil::AddToTracedValue(const gfx::Vector2dF& v,
+ base::debug::TracedValue* res) {
+ res->AppendDouble(v.x());
+ res->AppendDouble(v.y());
+}
+
void MathUtil::AddToTracedValue(const gfx::QuadF& q,
base::debug::TracedValue* res) {
res->AppendDouble(q.p1().x());

Powered by Google App Engine
This is Rietveld 408576698