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

Unified Diff: cc/base/math_util.h

Issue 12676029: cc: Fix capitalization style in chromified files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
« no previous file with comments | « cc/base/hash_pair.h ('k') | cc/base/region_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/math_util.h
diff --git a/cc/base/math_util.h b/cc/base/math_util.h
index dea3b08dbec0e396561b2a9ff9b545a07c3e928e..dc9110ffefd5baa862c2afde9dda0b60f55ff3ec 100644
--- a/cc/base/math_util.h
+++ b/cc/base/math_util.h
@@ -80,7 +80,7 @@ class CC_EXPORT MathUtil {
}
// Background: Existing transform code does not do the right thing in
- // mapRect / mapQuad / projectQuad when there is a perspective projection that
+ // MapRect / MapQuad / ProjectQuad when there is a perspective projection that
// causes one of the transformed vertices to go to w < 0. In those cases, it
// is necessary to perform clipping in homogeneous coordinates, after applying
// the transform, before dividing-by-w to convert to cartesian coordinates.
@@ -95,14 +95,14 @@ class CC_EXPORT MathUtil {
const gfx::RectF& rect);
// Returns an array of vertices that represent the clipped polygon. After
- // returning, indexes from 0 to numVerticesInClippedQuad are valid in the
- // clippedQuad array. Note that numVerticesInClippedQuad may be zero, which
- // means the entire quad was clipped, and none of the vertices in the array
- // are valid.
+ // returning, indexes from 0 to num_vertices_in_clipped_quad are valid in the
+ // clipped_quad array. Note that num_vertices_in_clipped_quad may be zero,
+ // which means the entire quad was clipped, and none of the vertices in the
+ // array are valid.
static void MapClippedQuad(const gfx::Transform& transform,
const gfx::QuadF& src_quad,
- gfx::PointF clippedQuad[8],
- int& numVerticesInClippedQuad);
+ gfx::PointF clipped_quad[8],
+ int& num_vertices_in_clipped_quad);
static gfx::RectF ComputeEnclosingRectOfVertices(gfx::PointF vertices[],
int num_vertices);
« no previous file with comments | « cc/base/hash_pair.h ('k') | cc/base/region_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698