diff options
author | Mike Klein <mtklein@chromium.org> | 2016-10-13 14:18:09 -0400 |
---|---|---|
committer | Mike Klein <mtklein@chromium.org> | 2016-10-13 19:55:43 +0000 |
commit | e54c75f351c775201049743c506d7a508d0fef91 (patch) | |
tree | b4a98cab06063a5b97d2b7860e2a6fe7ad195440 /src/utils | |
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/utils')
-rw-r--r-- | src/utils/SkCanvasStateUtils.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/utils/SkCanvasStateUtils.cpp b/src/utils/SkCanvasStateUtils.cpp index cc8ea43d43..60484a4db1 100644 --- a/src/utils/SkCanvasStateUtils.cpp +++ b/src/utils/SkCanvasStateUtils.cpp @@ -10,7 +10,6 @@ #include "SkCanvas.h" #include "SkCanvasStack.h" #include "SkDevice.h" -#include "SkErrorInternals.h" #include "SkRasterClip.h" #include "SkWriter32.h" @@ -202,8 +201,6 @@ SkCanvasState* SkCanvasStateUtils::CaptureCanvasState(SkCanvas* canvas) { ClipValidator validator; canvas->replayClips(&validator); if (validator.failed()) { - SkErrorInternals::SetError(kInvalidOperation_SkError, - "CaptureCanvasState does not support canvases with antialiased clips.\n"); return nullptr; } |