X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2Fskia%2Fexperimental%2FIntersection%2FCubicUtilities.cpp;h=474dc5e526ce6d5f8ca04e1fe16a5bfc7d24b2ec;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=c9881c14809247f885d1a4069b07527167ed493b;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/skia/experimental/Intersection/CubicUtilities.cpp b/src/third_party/skia/experimental/Intersection/CubicUtilities.cpp index c9881c1..474dc5e 100644 --- a/src/third_party/skia/experimental/Intersection/CubicUtilities.cpp +++ b/src/third_party/skia/experimental/Intersection/CubicUtilities.cpp @@ -20,7 +20,7 @@ double calcPrecision(const Cubic& cubic) { return (width > height ? width : height) / gPrecisionUnit; } -#if SK_DEBUG +#ifdef SK_DEBUG double calcPrecision(const Cubic& cubic, double t, double scale) { Cubic part; sub_divide(cubic, SkTMax(0., t - scale), SkTMin(1., t + scale), part); @@ -166,7 +166,7 @@ int cubicRootsValidT(double A, double B, double C, double D, double t[3]) { } int cubicRootsReal(double A, double B, double C, double D, double s[3]) { -#if SK_DEBUG +#ifdef SK_DEBUG // create a string mathematica understands // GDB set print repe 15 # if repeated digits is a bother // set print elements 400 # if line doesn't fit