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

Side by Side Diff: third_party/WebKit/Source/platform/heap/CallbackStack.cpp

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 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 #include "platform/heap/CallbackStack.h" 5 #include "platform/heap/CallbackStack.h"
6 #include "wtf/PtrUtil.h" 6 #include "platform/wtf/PtrUtil.h"
7 #include "wtf/StdLibExtras.h" 7 #include "platform/wtf/StdLibExtras.h"
8 #include "wtf/allocator/Partitions.h" 8 #include "platform/wtf/allocator/Partitions.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 CallbackStackMemoryPool& CallbackStackMemoryPool::instance() { 12 CallbackStackMemoryPool& CallbackStackMemoryPool::instance() {
13 DEFINE_STATIC_LOCAL(CallbackStackMemoryPool, memoryPool, ()); 13 DEFINE_STATIC_LOCAL(CallbackStackMemoryPool, memoryPool, ());
14 return memoryPool; 14 return memoryPool;
15 } 15 }
16 16
17 void CallbackStackMemoryPool::initialize() { 17 void CallbackStackMemoryPool::initialize() {
18 m_freeListFirst = 0; 18 m_freeListFirst = 0;
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 bool CallbackStack::hasCallbackForObject(const void* object) { 203 bool CallbackStack::hasCallbackForObject(const void* object) {
204 for (Block* current = m_first; current; current = current->next()) { 204 for (Block* current = m_first; current; current = current->next()) {
205 if (current->hasCallbackForObject(object)) 205 if (current->hasCallbackForObject(object))
206 return true; 206 return true;
207 } 207 }
208 return false; 208 return false;
209 } 209 }
210 #endif 210 #endif
211 211
212 } // namespace blink 212 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/heap/CallbackStack.h ('k') | third_party/WebKit/Source/platform/heap/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698