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

Unified Diff: printing/print_settings.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 | « media/base/media_log.cc ('k') | webkit/quota/mock_storage_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/print_settings.cc
diff --git a/printing/print_settings.cc b/printing/print_settings.cc
index 312719b924f806a9dd3ceddd5e3cf650a5620f1a..b85032f707a5697a6b73388cb1bd8fa6119430d0 100644
--- a/printing/print_settings.cc
+++ b/printing/print_settings.cc
@@ -108,7 +108,7 @@ bool isColorModelSelected(int model) {
}
// Global SequenceNumber used for generating unique cookie values.
-static base::AtomicSequenceNumber cookie_seq(base::LINKER_INITIALIZED);
+static base::StaticAtomicSequenceNumber cookie_seq;
PrintSettings::PrintSettings()
: min_shrink(1.25),
« no previous file with comments | « media/base/media_log.cc ('k') | webkit/quota/mock_storage_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698