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

Side by Side Diff: third_party/WebKit/Source/platform/wtf/RefPtr.h

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. 2 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc.
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 * 19 *
20 */ 20 */
21 21
22 #ifndef WTF_RefPtr_h 22 #ifndef WTF_RefPtr_h
23 #define WTF_RefPtr_h 23 #define WTF_RefPtr_h
24 24
25 #include <algorithm>
26 #include <utility>
25 #include "platform/wtf/Allocator.h" 27 #include "platform/wtf/Allocator.h"
26 #include "platform/wtf/HashTableDeletedValueType.h" 28 #include "platform/wtf/HashTableDeletedValueType.h"
27 #include "platform/wtf/PassRefPtr.h" 29 #include "platform/wtf/PassRefPtr.h"
28 #include "platform/wtf/allocator/PartitionAllocator.h" 30 #include "platform/wtf/allocator/PartitionAllocator.h"
29 #include <algorithm>
30 #include <utility>
31 31
32 namespace WTF { 32 namespace WTF {
33 33
34 template <typename T> 34 template <typename T>
35 class PassRefPtr; 35 class PassRefPtr;
36 template <typename T> 36 template <typename T>
37 class RefPtrValuePeeker; 37 class RefPtrValuePeeker;
38 38
39 template <typename T> 39 template <typename T>
40 class RefPtr { 40 class RefPtr {
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 210
211 private: 211 private:
212 T* ptr_; 212 T* ptr_;
213 }; 213 };
214 214
215 } // namespace WTF 215 } // namespace WTF
216 216
217 using WTF::RefPtr; 217 using WTF::RefPtr;
218 218
219 #endif // WTF_RefPtr_h 219 #endif // WTF_RefPtr_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698