Index: tests/MessageBusTest.cpp |
diff --git a/tests/MessageBusTest.cpp b/tests/MessageBusTest.cpp |
index 0e40d123117641badf3b3c53e874e85129e31790..f7a02b22546b5ef47d6cb9c98fc55e51cf388553 100644 |
--- a/tests/MessageBusTest.cpp |
+++ b/tests/MessageBusTest.cpp |
@@ -8,14 +8,11 @@ |
#include "SkMessageBus.h" |
#include "Test.h" |
-namespace { |
- |
struct TestMessage { |
int x; |
float y; |
}; |
- |
-} // namespace |
+DECLARE_SKMESSAGEBUS_MESSAGE(TestMessage) |
DEF_TEST(MessageBus, r) { |
// Register two inboxes to receive all TestMessages. |