Index: src/core/SkMessageBus.h |
diff --git a/src/core/SkMessageBus.h b/src/core/SkMessageBus.h |
index f36c42b4c7bc93f230e2a38bee33b13ab040151e..1290ea965f9c133faaf25037a85cf2061742a293 100644 |
--- a/src/core/SkMessageBus.h |
+++ b/src/core/SkMessageBus.h |
@@ -85,7 +85,7 @@ void SkMessageBus<Message>::Inbox::receive(const Message& m) { |
template<typename Message> |
void SkMessageBus<Message>::Inbox::poll(SkTDArray<Message>* messages) { |
- SkASSERT(NULL != messages); |
+ SkASSERT(messages); |
messages->reset(); |
SkAutoMutexAcquire lock(fMessagesMutex); |
messages->swap(fMessages); |