diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-13 18:02:17 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-13 18:02:17 +0000 |
commit | 828d28d8649df0704102b799c340a18d8e4ebca4 (patch) | |
tree | 830afb66a09c641a61a93165443c6a90faa37139 /core/SkDraw.cpp | |
parent | fa97e13893ad917a08962443cc330033a6e45642 (diff) | |
download | src-828d28d8649df0704102b799c340a18d8e4ebca4.tar.gz |
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/src@13795 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'core/SkDraw.cpp')
-rw-r--r-- | core/SkDraw.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/SkDraw.cpp b/core/SkDraw.cpp index 05b06453..024fa1bc 100644 --- a/core/SkDraw.cpp +++ b/core/SkDraw.cpp @@ -2363,7 +2363,7 @@ public: virtual void shadeSpan(int x, int y, SkPMColor dstC[], int count) SK_OVERRIDE; - SK_DEVELOPER_TO_STRING() + SK_TO_STRING_OVERRIDE() SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkTriColorShader) protected: @@ -2436,7 +2436,7 @@ void SkTriColorShader::shadeSpan(int x, int y, SkPMColor dstC[], int count) { } } -#ifdef SK_DEVELOPER +#ifndef SK_IGNORE_TO_STRING void SkTriColorShader::toString(SkString* str) const { str->append("SkTriColorShader: ("); |