Index: include/gpu/GrTextureAccess.h |
diff --git a/include/gpu/GrTextureAccess.h b/include/gpu/GrTextureAccess.h |
index 059800f05b3d72d279fe493c18e78501abeefb30..87b8d827cd015c491d5465ba202773b66e2734e5 100644 |
--- a/include/gpu/GrTextureAccess.h |
+++ b/include/gpu/GrTextureAccess.h |
@@ -36,7 +36,7 @@ public: |
this->reset(tileXAndY, filterMode); |
} |
- GrTextureParams(SkShader::TileMode tileModes[2], FilterMode filterMode) { |
+ GrTextureParams(const SkShader::TileMode tileModes[2], FilterMode filterMode) { |
this->reset(tileModes, filterMode); |
} |
@@ -60,7 +60,7 @@ public: |
fFilterMode = filterMode; |
} |
- void reset(SkShader::TileMode tileModes[2], FilterMode filterMode) { |
+ void reset(const SkShader::TileMode tileModes[2], FilterMode filterMode) { |
fTileModes[0] = tileModes[0]; |
fTileModes[1] = tileModes[1]; |
fFilterMode = filterMode; |