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

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

Issue 2774333002: Revert "Move files in wtf/ to platform/wtf/" (Closed)
Patch Set: Created 3 years, 9 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/wtf/WTFThreadData.cpp ('k') | third_party/WebKit/Source/wtf/debug/CrashLogging.h » ('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/Alias.h b/third_party/WebKit/Source/wtf/debug/Alias.h
index b73683772828bd4d4a9d1ec34c90c9a2274d3607..8907924e7e64563e6d4e3d0cc0178b544f29339c 100644
--- a/third_party/WebKit/Source/wtf/debug/Alias.h
+++ b/third_party/WebKit/Source/wtf/debug/Alias.h
@@ -1,9 +1,20 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
+// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "platform/wtf/debug/Alias.h"
+#ifndef WTF_Alias_h
+#define WTF_Alias_h
-// The contents of this header was moved to platform/wtf as part of
-// WTF migration project. See the following post for details:
-// https://groups.google.com/a/chromium.org/d/msg/blink-dev/tLdAZCTlcAA/bYXVT8gYCAAJ
+#include "base/debug/alias.h"
+
+namespace WTF {
+namespace debug {
+
+inline void alias(const void* var) {
+ base::debug::Alias(var);
+}
+
+} // namespace debug
+} // namespace WTF
+
+#endif // WTF_Alias_h
« no previous file with comments | « third_party/WebKit/Source/wtf/WTFThreadData.cpp ('k') | third_party/WebKit/Source/wtf/debug/CrashLogging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698