aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/SkCanvasStateUtils.cpp
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2016-10-13 14:18:09 -0400
committerGravatar Mike Klein <mtklein@chromium.org>2016-10-13 19:55:43 +0000
commite54c75f351c775201049743c506d7a508d0fef91 (patch)
treeb4a98cab06063a5b97d2b7860e2a6fe7ad195440 /src/utils/SkCanvasStateUtils.cpp
parentb35a41ec1684bbcbc36bf376ab65dcc84fca22fe (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/SkCanvasStateUtils.cpp')
-rw-r--r--src/utils/SkCanvasStateUtils.cpp3
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;
}