diff options
author | 2016-10-13 14:18:09 -0400 | |
---|---|---|
committer | 2016-10-13 19:55:43 +0000 | |
commit | e54c75f351c775201049743c506d7a508d0fef91 (patch) | |
tree | b4a98cab06063a5b97d2b7860e2a6fe7ad195440 /src/gpu/SkGr.cpp | |
parent | b35a41ec1684bbcbc36bf376ab65dcc84fca22fe (diff) |
remove SkError
It has not caught on.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3321
Change-Id: Ib2ee4ef99bc89c8f4b7504e42a9d7d9dfc483015
Reviewed-on: https://skia-review.googlesource.com/3321
Reviewed-by: Leon Scroggins <scroggo@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/gpu/SkGr.cpp')
-rw-r--r-- | src/gpu/SkGr.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gpu/SkGr.cpp b/src/gpu/SkGr.cpp index ee4e40a642..8f28d70ac4 100644 --- a/src/gpu/SkGr.cpp +++ b/src/gpu/SkGr.cpp @@ -25,7 +25,6 @@ #include "SkConfig8888.h" #include "SkCanvas.h" #include "SkData.h" -#include "SkErrorInternals.h" #include "SkMessageBus.h" #include "SkMipMap.h" #include "SkPixelRef.h" @@ -801,10 +800,7 @@ GrTextureParams::FilterMode GrSkFilterQualityToGrFilterMode(SkFilterQuality pain break; } default: - SkErrorInternals::SetError( kInvalidPaint_SkError, - "Sorry, I don't understand the filtering " - "mode you asked for. Falling back to " - "MIPMaps."); + // Should be unreachable. If not, fall back to mipmaps. textureFilterMode = GrTextureParams::kMipMap_FilterMode; break; |