diff options
author | djsollen <djsollen@google.com> | 2016-04-27 13:37:23 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-27 13:37:23 -0700 |
commit | 48d6f88479e72efaf9b9d8f9c0769acb1ba773db (patch) | |
tree | f18ff1170d5b1ded3c666cd550f58b9a803f026a /src/core/SkStream.cpp | |
parent | 2f1c42e8448bbbadeb3df1c626faa90aa33f8907 (diff) |
Repurpose Release_Developer BUILDTYPE and remove SK_DEVELOPER.
The Release_Developer build type is now used to build Skia with
release level optimizations but still enable SK_DEBUG. This in turn
means that SkASSERTS and SkRTConf are available in this mode.
Further we can then remove SK_DEVELOPER as a define as it is true
iff SK_DEBUG is true.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1927583002
DOCS_PREVIEW= https://skia.org/?cl=1927583002
Review-Url: https://codereview.chromium.org/1927583002
Diffstat (limited to 'src/core/SkStream.cpp')
-rw-r--r-- | src/core/SkStream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkStream.cpp b/src/core/SkStream.cpp index 6dbde4dc6d..e2b3e6454c 100644 --- a/src/core/SkStream.cpp +++ b/src/core/SkStream.cpp @@ -817,7 +817,7 @@ SkStreamAsset* SkDynamicMemoryWStream::detachAsStream() { void SkDebugWStream::newline() { -#if defined(SK_DEBUG) || defined(SK_DEVELOPER) +#if defined(SK_DEBUG) SkDebugf("\n"); fBytesWritten++; #endif @@ -825,7 +825,7 @@ void SkDebugWStream::newline() bool SkDebugWStream::write(const void* buffer, size_t size) { -#if defined(SK_DEBUG) || defined(SK_DEVELOPER) +#if defined(SK_DEBUG) char* s = new char[size+1]; memcpy(s, buffer, size); s[size] = 0; |