Index: third_party/WebKit/Source/wtf/GetPtr.h |
diff --git a/third_party/WebKit/Source/wtf/GetPtr.h b/third_party/WebKit/Source/wtf/GetPtr.h |
index f211f201d9e07c327c53d69dc98a21e5cd189c91..fc06e5ca44de4686cc48e91de5fc1a1c342e9f3c 100644 |
--- a/third_party/WebKit/Source/wtf/GetPtr.h |
+++ b/third_party/WebKit/Source/wtf/GetPtr.h |
@@ -1,38 +1,9 @@ |
-/* |
- * Copyright (C) 2006 Apple Computer, Inc. |
- * |
- * This library is free software; you can redistribute it and/or |
- * modify it under the terms of the GNU Library General Public |
- * License as published by the Free Software Foundation; either |
- * version 2 of the License, or (at your option) any later version. |
- * |
- * This library is distributed in the hope that it will be useful, |
- * but WITHOUT ANY WARRANTY; without even the implied warranty of |
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
- * Library General Public License for more details. |
- * |
- * You should have received a copy of the GNU Library General Public License |
- * along with this library; see the file COPYING.LIB. If not, write to |
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
- * Boston, MA 02110-1301, USA. |
- * |
- */ |
+// Copyright 2017 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. |
-#ifndef WTF_GetPtr_h |
-#define WTF_GetPtr_h |
+#include "platform/wtf/GetPtr.h" |
-namespace WTF { |
- |
-template <typename T> |
-inline T* getPtr(T* p) { |
- return p; |
-} |
- |
-template <typename T> |
-inline T* getPtr(T& p) { |
- return &p; |
-} |
- |
-} // namespace WTF |
- |
-#endif // WTF_GetPtr_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 |