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

Unified Diff: third_party/WebKit/Source/wtf/debug/Alias.h

Issue 2196833002: Propagate proper FROM_HERE to postTask() in worker code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 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 | « third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp ('k') | third_party/WebKit/Source/wtf/debug/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp ('k') | third_party/WebKit/Source/wtf/debug/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698