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

Unified Diff: cc/math_util.h

Issue 11189043: cc: Rename cc classes and members to match filenames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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/math_util.h
diff --git a/cc/math_util.h b/cc/math_util.h
index ed3848e6f4b7fbdfe8b6b5264d59340b45438231..d3d8b4762e6288dc5c87a0a71bb8f596ebc9d9bb 100644
--- a/cc/math_util.h
+++ b/cc/math_util.h
@@ -37,7 +37,7 @@ struct HomogeneousCoordinate {
if (w == 1)
return FloatPoint(x, y);
- // For now, because this code is used privately only by CCMathUtil, it should never be called when w == 0, and we do not yet need to handle that case.
+ // For now, because this code is used privately only by MathUtil, it should never be called when w == 0, and we do not yet need to handle that case.
ASSERT(w);
double invW = 1.0 / w;
return FloatPoint(x * invW, y * invW);
@@ -48,7 +48,7 @@ struct HomogeneousCoordinate {
if (w == 1)
return FloatPoint3D(x, y, z);
- // For now, because this code is used privately only by CCMathUtil, it should never be called when w == 0, and we do not yet need to handle that case.
+ // For now, because this code is used privately only by MathUtil, it should never be called when w == 0, and we do not yet need to handle that case.
ASSERT(w);
double invW = 1.0 / w;
return FloatPoint3D(x * invW, y * invW, z * invW);
@@ -60,7 +60,7 @@ struct HomogeneousCoordinate {
double w;
};
-class CCMathUtil {
+class MathUtil {
public:
// Background: WebTransformationMatrix code in WebCore does not do the right thing in
« cc/active_animation.h ('K') | « cc/layer_unittest.cc ('k') | cc/math_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698