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

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

Issue 1860903002: Update Source/platform/ to assume Oilpan only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: back out ScrollAnimatorMac() accidental change Created 4 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 MarkingVisitorImpl_h 5 #ifndef MarkingVisitorImpl_h
6 #define MarkingVisitorImpl_h 6 #define MarkingVisitorImpl_h
7 7
8 #include "platform/heap/Heap.h" 8 #include "platform/heap/Heap.h"
9 #include "platform/heap/ThreadState.h" 9 #include "platform/heap/ThreadState.h"
10 #include "platform/heap/Visitor.h" 10 #include "platform/heap/Visitor.h"
11 #include "wtf/Allocator.h" 11 #include "wtf/Allocator.h"
12 #include "wtf/Functional.h" 12 #include "wtf/Functional.h"
13 #include "wtf/HashFunctions.h" 13 #include "wtf/HashFunctions.h"
14 #include "wtf/Locker.h" 14 #include "wtf/Locker.h"
15 #include "wtf/RawPtr.h"
16 #include "wtf/RefCounted.h"
17 #include "wtf/TypeTraits.h" 15 #include "wtf/TypeTraits.h"
18 16
19 namespace blink { 17 namespace blink {
20 18
21 template <typename Derived> 19 template <typename Derived>
22 class MarkingVisitorImpl { 20 class MarkingVisitorImpl {
23 USING_FAST_MALLOC(MarkingVisitorImpl); 21 USING_FAST_MALLOC(MarkingVisitorImpl);
24 protected: 22 protected:
25 inline void markHeader(HeapObjectHeader* header, const void* objectPointer, TraceCallback callback) 23 inline void markHeader(HeapObjectHeader* header, const void* objectPointer, TraceCallback callback)
26 { 24 {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 private: 123 private:
126 static void markNoTracingCallback(Visitor* visitor, void* object) 124 static void markNoTracingCallback(Visitor* visitor, void* object)
127 { 125 {
128 visitor->markNoTracing(object); 126 visitor->markNoTracing(object);
129 } 127 }
130 }; 128 };
131 129
132 } // namespace blink 130 } // namespace blink
133 131
134 #endif 132 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698