aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/shaders/SkImageShader.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shaders/SkImageShader.cpp b/src/shaders/SkImageShader.cpp
index d463ca05ca..a19781262c 100644
--- a/src/shaders/SkImageShader.cpp
+++ b/src/shaders/SkImageShader.cpp
@@ -28,8 +28,7 @@ static SkShader::TileMode optimize(SkShader::TileMode tm, int dimension) {
// for transforming to clamp.
return tm;
#else
-// return dimension == 1 ? SkShader::kClamp_TileMode : tm;
- return tm; // does this fix chrome?
+ return dimension == 1 ? SkShader::kClamp_TileMode : tm;
#endif
}