| 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 00d03e2399535c4ef91ca5cbc126f320f672eada..1c97f4d622df8d71e36c1b82c9e04cd5ea6137a8 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 {
|
|
|
|
|