diff options
author | 2014-03-13 18:02:17 +0000 | |
---|---|---|
committer | 2014-03-13 18:02:17 +0000 | |
commit | 0f10f7bf1fb43ca6346dc220a076773b1f19a367 (patch) | |
tree | da2fe0c954024daea95aefea2b7f05709c0e76f5 /src/effects/gradients/SkTwoPointRadialGradient.cpp | |
parent | fa5edbe5750632b4590ed951c594dd2766ccc4cf (diff) |
Allow toString capability to be toggled independent of developer mode.
This change is motivated by the desire to see the text information in the debugger when not in developer mode. It is structured so user's can disable it if the capability is not wanted.
R=bsalomon@google.com
Author: robertphillips@google.com
Review URL: https://codereview.chromium.org/197763008
git-svn-id: http://skia.googlecode.com/svn/trunk@13795 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/effects/gradients/SkTwoPointRadialGradient.cpp')
-rw-r--r-- | src/effects/gradients/SkTwoPointRadialGradient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/gradients/SkTwoPointRadialGradient.cpp b/src/effects/gradients/SkTwoPointRadialGradient.cpp index 103e7d41c9..e1359b12dd 100644 --- a/src/effects/gradients/SkTwoPointRadialGradient.cpp +++ b/src/effects/gradients/SkTwoPointRadialGradient.cpp @@ -307,7 +307,7 @@ bool SkTwoPointRadialGradient::setContext( const SkBitmap& device, return true; } -#ifdef SK_DEVELOPER +#ifndef SK_IGNORE_TO_STRING void SkTwoPointRadialGradient::toString(SkString* str) const { str->append("SkTwoPointRadialGradient: ("); |