Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(163)

Unified Diff: src/core/SkStream.cpp

Issue 1927583002: Repurpose Release_Developer BUILDTYPE and remove SK_DEVELOPER. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix typo Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/core/SkStream.cpp
diff --git a/src/core/SkStream.cpp b/src/core/SkStream.cpp
index 6dbde4dc6dded27c1d80e125699b97cf200c1632..e2b3e6454c96c13f6e78da3d720b3dafc7daa8b8 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;

Powered by Google App Engine
This is Rietveld 408576698