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

Unified Diff: cc/output/render_surface_filters.cc

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/output/output_surface.cc ('k') | cc/output/software_output_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/render_surface_filters.cc
diff --git a/cc/output/render_surface_filters.cc b/cc/output/render_surface_filters.cc
index dd5e1a1ab21c504994eb430d53a1c1ea5a451710..2c51fbc0dbbb95df743d0990eb7275aac7cf6a53 100644
--- a/cc/output/render_surface_filters.cc
+++ b/cc/output/render_surface_filters.cc
@@ -45,7 +45,7 @@ void GetContrastMatrix(float amount, SkScalar matrix[20]) {
}
void GetSaturateMatrix(float amount, SkScalar matrix[20]) {
- // Note, these values are computed to ensure matrixNeedsClamping is false
+ // Note, these values are computed to ensure MatrixNeedsClamping is false
// for amount in [0..1]
matrix[0] = 0.213f + 0.787f * amount;
matrix[1] = 0.715f - 0.715f * amount;
@@ -99,7 +99,7 @@ void GetOpacityMatrix(float amount, SkScalar matrix[20]) {
}
void GetGrayscaleMatrix(float amount, SkScalar matrix[20]) {
- // Note, these values are computed to ensure matrixNeedsClamping is false
+ // Note, these values are computed to ensure MatrixNeedsClamping is false
// for amount in [0..1]
matrix[0] = 0.2126f + 0.7874f * amount;
matrix[1] = 0.7152f - 0.7152f * amount;
@@ -323,10 +323,10 @@ WebKit::WebFilterOperations RenderSurfaceFilters::Optimize(
SkScalar matrix[20];
if (GetColorMatrix(op, matrix)) {
if (have_accumulated_color_matrix) {
- SkScalar newMatrix[20];
- MultColorMatrix(matrix, accumulated_color_matrix, newMatrix);
+ SkScalar new_matrix[20];
+ MultColorMatrix(matrix, accumulated_color_matrix, new_matrix);
memcpy(accumulated_color_matrix,
- newMatrix,
+ new_matrix,
sizeof(accumulated_color_matrix));
} else {
memcpy(accumulated_color_matrix,
« no previous file with comments | « cc/output/output_surface.cc ('k') | cc/output/software_output_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698