OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WTF_CrashLogging_h | 5 #ifndef WTF_Alias_h |
6 #define WTF_CrashLogging_h | 6 #define WTF_Alias_h |
7 | 7 |
8 #include "base/debug/crash_logging.h" | 8 #include "base/debug/alias.h" |
9 #include "wtf/WTFExport.h" | |
10 | 9 |
11 namespace WTF { | 10 namespace WTF { |
12 namespace debug { | 11 namespace debug { |
13 | 12 |
14 using ScopedCrashKey = base::debug::ScopedCrashKey; | 13 inline void alias(const void* var) |
| 14 { |
| 15 base::debug::Alias(var); |
| 16 } |
15 | 17 |
16 } // namespace debug | 18 } // namespace debug |
17 } // namespace WTF | 19 } // namespace WTF |
18 | 20 |
19 #endif // WTF_CrashLogging_h | 21 #endif // WTF_Alias_h |
OLD | NEW |