diff options
author | pliard@chromium.org <pliard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-13 12:07:19 +0000 |
---|---|---|
committer | pliard@chromium.org <pliard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-13 12:07:19 +0000 |
commit | 8a8443ffbbf0b31a2feaa843d253ede348bd9abd (patch) | |
tree | 06bee987425255252e4d1530c0aadb4880160b96 /printing | |
parent | 62308c2a12a7d804203cea272abfdd539d65a1dc (diff) | |
download | chromium_src-8a8443ffbbf0b31a2feaa843d253ede348bd9abd.zip chromium_src-8a8443ffbbf0b31a2feaa843d253ede348bd9abd.tar.gz chromium_src-8a8443ffbbf0b31a2feaa843d253ede348bd9abd.tar.bz2 |
Add base::StaticAtomicSequenceNumber.
This patch also replaces the global AtomicSequenceNumber variables with
StaticAtomicSequenceNumber in order to remove static initializers.
BUG=94925
Review URL: http://codereview.chromium.org/9415039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126376 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing')
-rw-r--r-- | printing/print_settings.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/printing/print_settings.cc b/printing/print_settings.cc index 312719b..2b9b6f4 100644 --- a/printing/print_settings.cc +++ b/printing/print_settings.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -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), |