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

Unified Diff: chrome/browser/extensions/extension_message_service.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/message_loop_proxy_unittest.cc ('k') | chrome_frame/cfproxy_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_message_service.cc
diff --git a/chrome/browser/extensions/extension_message_service.cc b/chrome/browser/extensions/extension_message_service.cc
index 8b6baa119e608fca15194197ab4e946595aa7673..9b2cc6309e0f85f336ce2cbad9b351f128db40f4 100644
--- a/chrome/browser/extensions/extension_message_service.cc
+++ b/chrome/browser/extensions/extension_message_service.cc
@@ -58,7 +58,7 @@ const char ExtensionMessageService::kDispatchOnDisconnect[] =
namespace {
-static base::AtomicSequenceNumber g_next_channel_id(base::LINKER_INITIALIZED);
+static base::StaticAtomicSequenceNumber g_next_channel_id;
static void DispatchOnConnect(const ExtensionMessageService::MessagePort& port,
int dest_port_id,
« no previous file with comments | « base/message_loop_proxy_unittest.cc ('k') | chrome_frame/cfproxy_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698