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

Side by Side Diff: third_party/WebKit/Source/platform/MemoryCoordinator.cpp

Issue 2810413002: Rewrite references to "wtf/" to "platform/wtf/" in the rest of platform/. (Closed)
Patch Set: 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/MemoryCoordinator.h" 5 #include "platform/MemoryCoordinator.h"
6 6
7 #include "base/sys_info.h" 7 #include "base/sys_info.h"
8 #include "platform/fonts/FontCache.h" 8 #include "platform/fonts/FontCache.h"
9 #include "platform/graphics/ImageDecodingStore.h" 9 #include "platform/graphics/ImageDecodingStore.h"
10 #include "platform/instrumentation/tracing/TraceEvent.h" 10 #include "platform/instrumentation/tracing/TraceEvent.h"
11 #include "wtf/allocator/Partitions.h" 11 #include "platform/wtf/allocator/Partitions.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 // static 15 // static
16 bool MemoryCoordinator::is_low_end_device_ = false; 16 bool MemoryCoordinator::is_low_end_device_ = false;
17 17
18 // static 18 // static
19 bool MemoryCoordinator::IsLowEndDevice() { 19 bool MemoryCoordinator::IsLowEndDevice() {
20 return is_low_end_device_; 20 return is_low_end_device_;
21 } 21 }
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 // MemoryCoordinatorClients rather than clearing caches here. 84 // MemoryCoordinatorClients rather than clearing caches here.
85 ImageDecodingStore::Instance().Clear(); 85 ImageDecodingStore::Instance().Clear();
86 FontCache::GetFontCache()->Invalidate(); 86 FontCache::GetFontCache()->Invalidate();
87 } 87 }
88 88
89 DEFINE_TRACE(MemoryCoordinator) { 89 DEFINE_TRACE(MemoryCoordinator) {
90 visitor->Trace(clients_); 90 visitor->Trace(clients_);
91 } 91 }
92 92
93 } // namespace blink 93 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/MemoryCoordinator.h ('k') | third_party/WebKit/Source/platform/PODArena.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698