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

Unified Diff: cc/output/shader.h

Issue 14301021: cc: Don't pass simple well-defined classes by reference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/layers/picture_layer_impl.cc ('k') | cc/output/shader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/shader.h
diff --git a/cc/output/shader.h b/cc/output/shader.h
index 5832e8fe68526b739c40b317e5508e5d6520fcbf..2ef738ce479a10ac89ee00a1fdffb343b85d06fe 100644
--- a/cc/output/shader.h
+++ b/cc/output/shader.h
@@ -31,12 +31,12 @@ enum TexCoordPrecision {
CC_EXPORT TexCoordPrecision TexCoordPrecisionRequired(
WebKit::WebGraphicsContext3D* context,
int highp_threshold_min,
- const gfx::Point& max_coordinate);
+ gfx::Point max_coordinate);
CC_EXPORT TexCoordPrecision TexCoordPrecisionRequired(
WebKit::WebGraphicsContext3D* context,
int highp_threshold_min,
- const gfx::Size& max_size);
+ gfx::Size max_size);
class VertexShaderPosTex {
public:
« no previous file with comments | « cc/layers/picture_layer_impl.cc ('k') | cc/output/shader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698