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

Unified Diff: cc/CCMathUtil.h

Issue 10915313: cc: Apply the layer's initial CSS scale to the contentsScale to render text at the right resolution. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove extra header Created 8 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/CCMathUtil.h
diff --git a/cc/CCMathUtil.h b/cc/CCMathUtil.h
index ed3848e6f4b7fbdfe8b6b5264d59340b45438231..587a543833eb94da391fd775f371aba1748dc895 100644
--- a/cc/CCMathUtil.h
+++ b/cc/CCMathUtil.h
@@ -100,6 +100,8 @@ public:
// Projects the |source| vector onto |destination|. Neither vector is assumed to be normalized.
static FloatSize projectVector(const FloatSize& source, const FloatSize& destination);
+
+ static float distanceBetweenPoints(const FloatPoint&, const FloatPoint&);
};
} // namespace cc
« no previous file with comments | « cc/CCLayerTreeHostImpl.cpp ('k') | cc/CCMathUtil.cpp » ('j') | cc/CCMathUtil.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698