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

Unified Diff: chrome_frame/cfproxy_support.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 | « chrome/browser/extensions/extension_message_service.cc ('k') | ipc/ipc_sync_message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/cfproxy_support.cc
diff --git a/chrome_frame/cfproxy_support.cc b/chrome_frame/cfproxy_support.cc
index 903397d816a8cb6c0505a3588d40a8b16c90e691..0b124d882d5f35593af3d181b3408121d26e1976 100644
--- a/chrome_frame/cfproxy_support.cc
+++ b/chrome_frame/cfproxy_support.cc
@@ -266,7 +266,7 @@ void SyncMsgSender::OnChannelClosed() {
messages_sent.clear();
}
-static base::AtomicSequenceNumber g_proxy_channel_id(base::LINKER_INITIALIZED);
+static base::StaticAtomicSequenceNumber g_proxy_channel_id;
std::string GenerateChannelId() {
return StringPrintf("ChromeTestingInterface:%u.%d",
base::GetCurrentProcId(), g_proxy_channel_id.GetNext() + 0xC000);
« no previous file with comments | « chrome/browser/extensions/extension_message_service.cc ('k') | ipc/ipc_sync_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698