Index: src/ports/SkMemory_malloc.cpp |
diff --git a/src/ports/SkMemory_malloc.cpp b/src/ports/SkMemory_malloc.cpp |
index 9fc17b7c34caa9e835c15111b811c471a2ead069..2fc59f9b92060667d64153abbaf15effd947960a 100644 |
--- a/src/ports/SkMemory_malloc.cpp |
+++ b/src/ports/SkMemory_malloc.cpp |
@@ -27,7 +27,7 @@ static inline void* throw_on_failure(size_t size, void* p) { |
} |
void sk_abort_no_print() { |
-#ifdef SK_BUILD_FOR_WIN |
+#if defined(SK_BUILD_FOR_WIN) && defined(SK_IS_BOT) |
// do not display a system dialog before aborting the process |
_set_abort_behavior(0, _WRITE_ABORT_MSG); |
#endif |