diff options
author | Mike Reed <reed@google.com> | 2017-06-24 15:10:03 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-06-24 19:33:11 +0000 |
commit | 4220a929f881de79420eb3551653848678666c13 (patch) | |
tree | ad1de93b64c2358969ef4e2b09b59119c6589a6b /src | |
parent | d9b1fe02a677ec44bc1c99809f3ee7eb08708137 (diff) |
speculative fix for chrome roll
Bug: skia:
Change-Id: Ib1d7d0839093a4ced89f591bc329bbd3adc635f8
Reviewed-on: https://skia-review.googlesource.com/20768
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/shaders/SkImageShader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shaders/SkImageShader.cpp b/src/shaders/SkImageShader.cpp index a19781262c..d463ca05ca 100644 --- a/src/shaders/SkImageShader.cpp +++ b/src/shaders/SkImageShader.cpp @@ -28,7 +28,8 @@ static SkShader::TileMode optimize(SkShader::TileMode tm, int dimension) { // for transforming to clamp. return tm; #else - return dimension == 1 ? SkShader::kClamp_TileMode : tm; +// return dimension == 1 ? SkShader::kClamp_TileMode : tm; + return tm; // does this fix chrome? #endif } |