diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-28 00:34:40 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-28 00:34:40 +0000 |
commit | da9ccfb9ad498ff45b8d553968e0de01ac46fb28 (patch) | |
tree | 0d6084c8e7b15a627d2bf16cc62bc3a7bd346051 /printing | |
parent | 6f1485ee6a559b469b93f6fb56b0e70dc8b3edf1 (diff) | |
download | chromium_src-da9ccfb9ad498ff45b8d553968e0de01ac46fb28.zip chromium_src-da9ccfb9ad498ff45b8d553968e0de01ac46fb28.tar.gz chromium_src-da9ccfb9ad498ff45b8d553968e0de01ac46fb28.tar.bz2 |
Cleanup: Remove static storage for variables in an unnamed namespace.
BUG=none
TEST=none
R=binji
Review URL: https://chromiumcodereview.appspot.com/9271061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119535 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing')
-rw-r--r-- | printing/backend/print_backend_cups.cc | 2 | ||||
-rw-r--r-- | printing/printed_document.cc | 2 | ||||
-rw-r--r-- | printing/printing_context_gtk.cc | 10 |
3 files changed, 8 insertions, 6 deletions
diff --git a/printing/backend/print_backend_cups.cc b/printing/backend/print_backend_cups.cc index 19275c1..d543389 100644 --- a/printing/backend/print_backend_cups.cc +++ b/printing/backend/print_backend_cups.cc @@ -87,7 +87,7 @@ class GcryptInitializer { } }; -static base::LazyInstance<GcryptInitializer> g_gcrypt_initializer = +base::LazyInstance<GcryptInitializer> g_gcrypt_initializer = LAZY_INSTANCE_INITIALIZER; } // namespace diff --git a/printing/printed_document.cc b/printing/printed_document.cc index c4f2254..7686055 100644 --- a/printing/printed_document.cc +++ b/printing/printed_document.cc @@ -37,7 +37,7 @@ struct PrintDebugDumpPath { FilePath debug_dump_path; }; -static base::LazyInstance<PrintDebugDumpPath> g_debug_dump_info = +base::LazyInstance<PrintDebugDumpPath> g_debug_dump_info = LAZY_INSTANCE_INITIALIZER; } // namespace diff --git a/printing/printing_context_gtk.cc b/printing/printing_context_gtk.cc index 88e57e6..af97906 100644 --- a/printing/printing_context_gtk.cc +++ b/printing/printing_context_gtk.cc @@ -15,10 +15,12 @@ #include "printing/units.h" namespace { - // Function pointer for creating print dialogs. |callback| is only used when - // |show_dialog| is true. - static printing::PrintDialogGtkInterface* (*create_dialog_func_)( - printing::PrintingContextGtk* context) = NULL; + +// Function pointer for creating print dialogs. |callback| is only used when +// |show_dialog| is true. +printing::PrintDialogGtkInterface* (*create_dialog_func_)( + printing::PrintingContextGtk* context) = NULL; + } // namespace namespace printing { |