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

Unified Diff: base/message_loop_proxy_unittest.cc

Issue 9415039: Add base::StaticAtomicSequenceNumber. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Update Created 8 years, 10 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 | « base/lazy_instance_unittest.cc ('k') | chrome/browser/extensions/extension_message_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop_proxy_unittest.cc
diff --git a/base/message_loop_proxy_unittest.cc b/base/message_loop_proxy_unittest.cc
index 738a336fba5e46dc8ac6245591a381f8f0de3be3..2fdef130940a7c53a683eb2b58d2c2f683b6ae9b 100644
--- a/base/message_loop_proxy_unittest.cc
+++ b/base/message_loop_proxy_unittest.cc
@@ -95,7 +95,7 @@ class MessageLoopProxyTest : public testing::Test {
thread_sync_.Wait();
}
- static AtomicSequenceNumber g_order;
+ static StaticAtomicSequenceNumber g_order;
scoped_ptr<MessageLoop> current_loop_;
Thread task_thread_;
@@ -104,7 +104,7 @@ class MessageLoopProxyTest : public testing::Test {
base::WaitableEvent thread_sync_;
};
-AtomicSequenceNumber MessageLoopProxyTest::g_order(LINKER_INITIALIZED);
+StaticAtomicSequenceNumber MessageLoopProxyTest::g_order;
TEST_F(MessageLoopProxyTest, PostTaskAndReply_Basic) {
MessageLoop* task_run_on = NULL;
« no previous file with comments | « base/lazy_instance_unittest.cc ('k') | chrome/browser/extensions/extension_message_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698