Bug 1659226 - Run clang-format on nsCUPSShim.h r=hiro

Differential Revision: https://phabricator.services.mozilla.com/D87152
This commit is contained in:
Erik Nordin 2020-08-17 17:39:17 +00:00
Родитель 51ae308509
Коммит 8683356052
1 изменённых файлов: 3 добавлений и 5 удалений

Просмотреть файл

@ -21,9 +21,7 @@ struct PRLibrary;
/* Note: this class relies on static initialization. */
class nsCUPSShim {
public:
bool EnsureInitialized() {
return mInited || Init();
}
bool EnsureInitialized() { return mInited || Init(); }
/**
* Function pointers for supported functions. These are only
@ -75,9 +73,9 @@ class nsCUPSShim {
// boolean and the mutex below make it safe.
//
// The boolean can't be Relaxed, because it guards our function pointers.
mozilla::Atomic<bool, mozilla::ReleaseAcquire> mInited {false};
mozilla::Atomic<bool, mozilla::ReleaseAcquire> mInited{false};
#ifdef CUPS_SHIM_RUNTIME_LINK
mozilla::OffTheBooksMutex mInitMutex {"nsCUPSShim::mInitMutex"};
mozilla::OffTheBooksMutex mInitMutex{"nsCUPSShim::mInitMutex"};
PRLibrary* mCupsLib;
#endif
};