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/SkBlurMaskFilter.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/SkBlurMaskFilter.cpp')
-rw-r--r-- | src/effects/SkBlurMaskFilter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp index 63032dbc29..a5cdc4f703 100644 --- a/src/effects/SkBlurMaskFilter.cpp +++ b/src/effects/SkBlurMaskFilter.cpp @@ -59,7 +59,7 @@ public: virtual void computeFastBounds(const SkRect&, SkRect*) const SK_OVERRIDE; - SkDEVCODE(virtual void toString(SkString* str) const SK_OVERRIDE;) + SK_TO_STRING_OVERRIDE() SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkBlurMaskFilterImpl) protected: @@ -915,7 +915,7 @@ bool SkBlurMaskFilterImpl::filterMaskGPU(GrTexture* src, #endif // SK_SUPPORT_GPU -#ifdef SK_DEVELOPER +#ifndef SK_IGNORE_TO_STRING void SkBlurMaskFilterImpl::toString(SkString* str) const { str->append("SkBlurMaskFilterImpl: ("); |