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

Side by Side Diff: third_party/WebKit/Source/platform/fonts/FontCacheMemoryDumpProvider.h

Issue 1609943003: Make platform/heap to use USING_FAST_MALLOC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 #ifndef FontCacheMemoryDumpProvider_h 5 #ifndef FontCacheMemoryDumpProvider_h
6 #define FontCacheMemoryDumpProvider_h 6 #define FontCacheMemoryDumpProvider_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "public/platform/WebMemoryDumpProvider.h" 9 #include "public/platform/WebMemoryDumpProvider.h"
10 #include "wtf/Allocator.h"
10 11
11 namespace blink { 12 namespace blink {
12 13
13 class PLATFORM_EXPORT FontCacheMemoryDumpProvider final : public WebMemoryDumpPr ovider { 14 class PLATFORM_EXPORT FontCacheMemoryDumpProvider final : public WebMemoryDumpPr ovider {
15 USING_FAST_MALLOC(FontCacheMemoryDumpProvider);
14 public: 16 public:
15 static FontCacheMemoryDumpProvider* instance(); 17 static FontCacheMemoryDumpProvider* instance();
16 ~FontCacheMemoryDumpProvider() override { } 18 ~FontCacheMemoryDumpProvider() override { }
17 19
18 // WebMemoryDumpProvider implementation. 20 // WebMemoryDumpProvider implementation.
19 bool onMemoryDump(WebMemoryDumpLevelOfDetail, WebProcessMemoryDump*) overrid e; 21 bool onMemoryDump(WebMemoryDumpLevelOfDetail, WebProcessMemoryDump*) overrid e;
20 22
21 private: 23 private:
22 FontCacheMemoryDumpProvider() { } 24 FontCacheMemoryDumpProvider() { }
23 }; 25 };
24 26
25 } // namespace blink 27 } // namespace blink
26 28
27 #endif // FontCacheMemoryDumpProvider_h 29 #endif // FontCacheMemoryDumpProvider_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698