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

Unified Diff: cc/output/shader.cc

Issue 23591027: Allow NOLINT to skip the std::abs PRESUBMIT check. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review feedback Created 7 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
« no previous file with comments | « cc/PRESUBMIT.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/shader.cc
diff --git a/cc/output/shader.cc b/cc/output/shader.cc
index 8ab2114555fbbfec11372bb4a9987d495708177a..beabf8db7550a2b2d2f2eb5cb986eb8bb8b5be7d 100644
--- a/cc/output/shader.cc
+++ b/cc/output/shader.cc
@@ -1597,7 +1597,7 @@ std::string FragmentShaderCheckerboard::GetShaderString(
vec2 texCoord =
clamp(v_texCoord, 0.0, 1.0) * texTransform.zw + texTransform.xy;
vec2 coord = mod(floor(texCoord * frequency * 2.0), 2.0);
- float picker = abs(coord.x - coord.y);
+ float picker = abs(coord.x - coord.y); // NOLINT
gl_FragColor = mix(color1, color2, picker) * alpha;
}
); // NOLINT(whitespace/parens)
« no previous file with comments | « cc/PRESUBMIT.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698