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

Unified Diff: cc/output/shader.cc

Issue 185653013: [#8] Pass gfx::Point by const ref. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build errors on other platforms Created 6 years, 10 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/shader.h ('k') | cc/resources/content_layer_updater.h » ('j') | 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 1c7040e51399c60faa6e4c7d157f2c64747c3386..7f1bac7fd560999e7c649c97908f631b99d3f412 100644
--- a/cc/output/shader.cc
+++ b/cc/output/shader.cc
@@ -135,9 +135,9 @@ static std::string SetFragmentSamplerType(
} // namespace
TexCoordPrecision TexCoordPrecisionRequired(GLES2Interface* context,
- int *highp_threshold_cache,
+ int* highp_threshold_cache,
int highp_threshold_min,
- gfx::Point max_coordinate) {
+ const gfx::Point& max_coordinate) {
return TexCoordPrecisionRequired(context,
highp_threshold_cache, highp_threshold_min,
max_coordinate.x(), max_coordinate.y());
« no previous file with comments | « cc/output/shader.h ('k') | cc/resources/content_layer_updater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698