| Index: src/core/SkStrokeRec.cpp
|
| diff --git a/src/core/SkStrokeRec.cpp b/src/core/SkStrokeRec.cpp
|
| index f2fe438ca7f10f071448f625d0ff42c695596462..764794eb4a17e6c7cb885d5f218ba11adfacfa93 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);
|
|
|