| Index: content/browser/dom_storage/local_storage_context_mojo.cc
|
| diff --git a/content/browser/dom_storage/local_storage_context_mojo.cc b/content/browser/dom_storage/local_storage_context_mojo.cc
|
| index ad15ed2c728070686708942c8f2278b061eec51a..3c92b3c05d4bcd39d625eb2a6028b5d7b5b0b62f 100644
|
| --- a/content/browser/dom_storage/local_storage_context_mojo.cc
|
| +++ b/content/browser/dom_storage/local_storage_context_mojo.cc
|
| @@ -28,6 +28,21 @@
|
| #include "sql/connection.h"
|
| #include "storage/browser/quota/special_storage_policy.h"
|
| #include "third_party/leveldatabase/env_chromium.h"
|
| +// third_party/webrtc/base/thread_checker.h leaks the define
|
| +// EXCLUSIVE_LOCKS_REQUIRED and more which collide with the same define in
|
| +// third_party/leveldatabase/src/port/thread_annotations.
|
| +#undef EXCLUSIVE_LOCKS_REQUIRED
|
| +#undef SHARED_LOCKS_REQUIRED
|
| +#undef LOCKS_EXCLUDED
|
| +#undef LOCK_RETURNED
|
| +#undef LOCKABLE
|
| +#undef SCOPED_LOCKABLE
|
| +#undef EXCLUSIVE_LOCK_FUNCTION
|
| +#undef SHARED_LOCK_FUNCTION
|
| +#undef EXCLUSIVE_TRYLOCK_FUNCTION
|
| +#undef SHARED_TRYLOCK_FUNCTION
|
| +#undef UNLOCK_FUNCTION
|
| +#undef NO_THREAD_SAFETY_ANALYSIS
|
|
|
| namespace content {
|
|
|
|
|