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

Side by Side Diff: third_party/WebKit/Source/platform/heap/SelfKeepAlive.h

Issue 2795923002: Rewrite references to "wtf/" to "platform/wtf/" in platform/heap. (Closed)
Patch Set: Same as PS1; PS1 lacks some files for some reason. Created 3 years, 8 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SelfKeepAlive_h 5 #ifndef SelfKeepAlive_h
6 #define SelfKeepAlive_h 6 #define SelfKeepAlive_h
7 7
8 #include "platform/heap/Persistent.h" 8 #include "platform/heap/Persistent.h"
9 #include "wtf/Allocator.h" 9 #include "platform/wtf/Allocator.h"
10 #include "wtf/Assertions.h" 10 #include "platform/wtf/Assertions.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 // SelfKeepAlive<Object> is the idiom to use for objects that have to keep 14 // SelfKeepAlive<Object> is the idiom to use for objects that have to keep
15 // themselves temporarily alive and cannot rely on there being some 15 // themselves temporarily alive and cannot rely on there being some
16 // external reference in that interval: 16 // external reference in that interval:
17 // 17 //
18 // class Opener { 18 // class Opener {
19 // public: 19 // public:
20 // ... 20 // ...
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 m_keepAlive = self; 65 m_keepAlive = self;
66 } 66 }
67 67
68 GC_PLUGIN_IGNORE("420515") 68 GC_PLUGIN_IGNORE("420515")
69 Persistent<Self> m_keepAlive; 69 Persistent<Self> m_keepAlive;
70 }; 70 };
71 71
72 } // namespace blink 72 } // namespace blink
73 73
74 #endif // SelfKeepAlive_h 74 #endif // SelfKeepAlive_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/heap/SafePoint.h ('k') | third_party/WebKit/Source/platform/heap/SparseHeapBitmap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698