Index: cc/output/shader.h |
diff --git a/cc/output/shader.h b/cc/output/shader.h |
index 8b2a5d9bbafb390d38f49dc677b0e1aa8f2c8cb1..36430cc6cfbce2d18b212d3d184519816cb0be45 100644 |
--- a/cc/output/shader.h |
+++ b/cc/output/shader.h |
@@ -43,11 +43,11 @@ enum SamplerType { |
// the caching multi-thread/context safe in an easy low-overhead manner. |
// The caller must make sure to clear highp_threshold_cache to 0, so it can be |
// reinitialized, if a new or different context is used. |
-CC_EXPORT TexCoordPrecision TexCoordPrecisionRequired( |
- gpu::gles2::GLES2Interface* context, |
- int *highp_threshold_cache, |
- int highp_threshold_min, |
- gfx::Point max_coordinate); |
+CC_EXPORT TexCoordPrecision |
+ TexCoordPrecisionRequired(gpu::gles2::GLES2Interface* context, |
+ int* highp_threshold_cache, |
+ int highp_threshold_min, |
+ const gfx::Point& max_coordinate); |
CC_EXPORT TexCoordPrecision TexCoordPrecisionRequired( |
gpu::gles2::GLES2Interface* context, |