diff options
Diffstat (limited to 'printing/backend/print_backend_cups.cc')
-rw-r--r-- | printing/backend/print_backend_cups.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/printing/backend/print_backend_cups.cc b/printing/backend/print_backend_cups.cc index e2c383ee..a164362 100644 --- a/printing/backend/print_backend_cups.cc +++ b/printing/backend/print_backend_cups.cc @@ -262,7 +262,7 @@ int PrintBackendCUPS::GetDests(cups_dest_t** dests) { FilePath PrintBackendCUPS::GetPPD(const char* name) { // cupsGetPPD returns a filename stored in a static buffer in CUPS. // Protect this code with lock. - static base::Lock ppd_lock; + CR_DEFINE_STATIC_LOCAL(base::Lock, ppd_lock, ()); base::AutoLock ppd_autolock(ppd_lock); FilePath ppd_path; const char* ppd_file_path = NULL; |