Index: src/core/SkStream.cpp |
diff --git a/src/core/SkStream.cpp b/src/core/SkStream.cpp |
index e2b3e6454c96c13f6e78da3d720b3dafc7daa8b8..6dbde4dc6dded27c1d80e125699b97cf200c1632 100644 |
--- a/src/core/SkStream.cpp |
+++ b/src/core/SkStream.cpp |
@@ -817,7 +817,7 @@ |
void SkDebugWStream::newline() |
{ |
-#if defined(SK_DEBUG) |
+#if defined(SK_DEBUG) || defined(SK_DEVELOPER) |
SkDebugf("\n"); |
fBytesWritten++; |
#endif |
@@ -825,7 +825,7 @@ |
bool SkDebugWStream::write(const void* buffer, size_t size) |
{ |
-#if defined(SK_DEBUG) |
+#if defined(SK_DEBUG) || defined(SK_DEVELOPER) |
char* s = new char[size+1]; |
memcpy(s, buffer, size); |
s[size] = 0; |