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

Side by Side Diff: third_party/WebKit/Source/platform/heap/VisitorImpl.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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 VisitorImpl_h 5 #ifndef VisitorImpl_h
6 #define VisitorImpl_h 6 #define VisitorImpl_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 "platform/wtf/Allocator.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 inline void Visitor::markHeader(HeapObjectHeader* header, 15 inline void Visitor::markHeader(HeapObjectHeader* header,
16 const void* objectPointer, 16 const void* objectPointer,
17 TraceCallback callback) { 17 TraceCallback callback) {
18 DCHECK(header); 18 DCHECK(header);
19 DCHECK(objectPointer); 19 DCHECK(objectPointer);
20 20
21 if (header->isMarked()) 21 if (header->isMarked())
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 void* callbackData) { 109 void* callbackData) {
110 if (getMarkingMode() != GlobalMarkingWithCompaction) 110 if (getMarkingMode() != GlobalMarkingWithCompaction)
111 return; 111 return;
112 heap().registerMovingObjectCallback( 112 heap().registerMovingObjectCallback(
113 reinterpret_cast<MovableReference>(backingStore), callback, callbackData); 113 reinterpret_cast<MovableReference>(backingStore), callback, callbackData);
114 } 114 }
115 115
116 } // namespace blink 116 } // namespace blink
117 117
118 #endif 118 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/heap/Visitor.cpp ('k') | third_party/WebKit/Source/platform/heap/WrapperVisitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698