| Index: third_party/WebKit/Source/wtf/debug/Alias.h
|
| diff --git a/third_party/WebKit/Source/wtf/debug/CrashLogging.h b/third_party/WebKit/Source/wtf/debug/Alias.h
|
| similarity index 55%
|
| copy from third_party/WebKit/Source/wtf/debug/CrashLogging.h
|
| copy to third_party/WebKit/Source/wtf/debug/Alias.h
|
| index a4fd960edc939baf914b07eb7d9cd57e2ee2eab4..1176a1b30310bad17a381535899db29d0c1c5b44 100644
|
| --- a/third_party/WebKit/Source/wtf/debug/CrashLogging.h
|
| +++ b/third_party/WebKit/Source/wtf/debug/Alias.h
|
| @@ -2,18 +2,20 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef WTF_CrashLogging_h
|
| -#define WTF_CrashLogging_h
|
| +#ifndef WTF_Alias_h
|
| +#define WTF_Alias_h
|
|
|
| -#include "base/debug/crash_logging.h"
|
| -#include "wtf/WTFExport.h"
|
| +#include "base/debug/alias.h"
|
|
|
| namespace WTF {
|
| namespace debug {
|
|
|
| -using ScopedCrashKey = base::debug::ScopedCrashKey;
|
| +inline void alias(const void* var)
|
| +{
|
| + base::debug::Alias(var);
|
| +}
|
|
|
| } // namespace debug
|
| } // namespace WTF
|
|
|
| -#endif // WTF_CrashLogging_h
|
| +#endif // WTF_Alias_h
|
|
|