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

Unified Diff: tests/MessageBusTest.cpp

Issue 140053002: move SkMessageBus::Get out of header (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: obsolete Created 6 years, 11 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
« no previous file with comments | « src/gpu/GrResourceCache.cpp ('k') | tests/ResourceCacheTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « src/gpu/GrResourceCache.cpp ('k') | tests/ResourceCacheTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698