aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkStrokeRec.cpp
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2015-05-22 06:26:52 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-05-22 06:26:52 -0700
commita76b7a3b04bc0e937921a1eb38d713c619e60e4e (patch)
tree5531fd1ba5a03aead9c7514bb236f8b442331245 /src/core/SkStrokeRec.cpp
parent051a51ec32549078a65ade19e42df0b9d9f9a3ff (diff)
remove SK_LEGACY_STROKE_CURVES
The change in Chrome has been landed so this guard is no longer needed. R=reed@google.com,fmalita@chromium.org BUG=102411 Review URL: https://codereview.chromium.org/1157623003
Diffstat (limited to 'src/core/SkStrokeRec.cpp')
-rw-r--r--src/core/SkStrokeRec.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkStrokeRec.cpp b/src/core/SkStrokeRec.cpp
index f2fe438ca7..764794eb4a 100644
--- a/src/core/SkStrokeRec.cpp
+++ b/src/core/SkStrokeRec.cpp
@@ -96,7 +96,7 @@ void SkStrokeRec::setStrokeStyle(SkScalar width, bool strokeAndFill) {
#include "SkStroke.h"
-#if !defined SK_LEGACY_STROKE_CURVES && defined SK_DEBUG
+#ifdef SK_DEBUG
// enables tweaking these values at runtime from SampleApp
bool gDebugStrokerErrorSet = false;
SkScalar gDebugStrokerError;
@@ -113,7 +113,7 @@ bool SkStrokeRec::applyToPath(SkPath* dst, const SkPath& src) const {
stroker.setMiterLimit(fMiterLimit);
stroker.setWidth(fWidth);
stroker.setDoFill(fStrokeAndFill);
-#if !defined SK_LEGACY_STROKE_CURVES && defined SK_DEBUG
+#ifdef SK_DEBUG
stroker.setResScale(gDebugStrokerErrorSet ? gDebugStrokerError : fResScale);
#else
stroker.setResScale(fResScale);