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

Unified Diff: third_party/mojo/src/mojo/edk/system/mutex.h

Issue 1310423002: Mojo Mutex: fix declspec and GNU attribute order (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mojo/src/mojo/edk/system/mutex.h
diff --git a/third_party/mojo/src/mojo/edk/system/mutex.h b/third_party/mojo/src/mojo/edk/system/mutex.h
index acb410aafef6733afe5e36d0bf79d312e10d973d..a78a16bd839a52b8d12a9f4aa93cb7eeb69934d2 100644
--- a/third_party/mojo/src/mojo/edk/system/mutex.h
+++ b/third_party/mojo/src/mojo/edk/system/mutex.h
@@ -23,7 +23,7 @@ namespace system {
// Mutex -----------------------------------------------------------------------
-class MOJO_SYSTEM_IMPL_EXPORT MOJO_LOCKABLE Mutex {
+class MOJO_LOCKABLE MOJO_SYSTEM_IMPL_EXPORT Mutex {
public:
#if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON)
Mutex() : lock_() {}
@@ -73,7 +73,7 @@ class MOJO_SYSTEM_IMPL_EXPORT MOJO_LOCKABLE Mutex {
// MutexLocker -----------------------------------------------------------------
-class MOJO_SYSTEM_IMPL_EXPORT MOJO_SCOPED_LOCKABLE MutexLocker {
+class MOJO_SCOPED_LOCKABLE MOJO_SYSTEM_IMPL_EXPORT MutexLocker {
public:
explicit MutexLocker(Mutex* mutex) MOJO_EXCLUSIVE_LOCK_FUNCTION(mutex)
: mutex_(mutex) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698