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

Side by Side Diff: third_party/WebKit/Source/platform/fonts/FontCache.cpp

Issue 2346663004: Moving platform tracing things into platform/tracing. (Closed)
Patch Set: Created 4 years, 3 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 /* 1 /*
2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 3 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 27 matching lines...) Expand all
38 #include "platform/fonts/FontCacheClient.h" 38 #include "platform/fonts/FontCacheClient.h"
39 #include "platform/fonts/FontCacheKey.h" 39 #include "platform/fonts/FontCacheKey.h"
40 #include "platform/fonts/FontDataCache.h" 40 #include "platform/fonts/FontDataCache.h"
41 #include "platform/fonts/FontDescription.h" 41 #include "platform/fonts/FontDescription.h"
42 #include "platform/fonts/FontPlatformData.h" 42 #include "platform/fonts/FontPlatformData.h"
43 #include "platform/fonts/FontSmoothingMode.h" 43 #include "platform/fonts/FontSmoothingMode.h"
44 #include "platform/fonts/SimpleFontData.h" 44 #include "platform/fonts/SimpleFontData.h"
45 #include "platform/fonts/TextRenderingMode.h" 45 #include "platform/fonts/TextRenderingMode.h"
46 #include "platform/fonts/opentype/OpenTypeVerticalData.h" 46 #include "platform/fonts/opentype/OpenTypeVerticalData.h"
47 #include "platform/fonts/shaping/ShapeCache.h" 47 #include "platform/fonts/shaping/ShapeCache.h"
48 #include "platform/web_memory_allocator_dump.h" 48 #include "platform/tracing/web_memory_allocator_dump.h"
49 #include "platform/web_process_memory_dump.h" 49 #include "platform/tracing/web_process_memory_dump.h"
50 #include "public/platform/Platform.h" 50 #include "public/platform/Platform.h"
51 #include "wtf/HashMap.h" 51 #include "wtf/HashMap.h"
52 #include "wtf/ListHashSet.h" 52 #include "wtf/ListHashSet.h"
53 #include "wtf/PtrUtil.h" 53 #include "wtf/PtrUtil.h"
54 #include "wtf/StdLibExtras.h" 54 #include "wtf/StdLibExtras.h"
55 #include "wtf/Vector.h" 55 #include "wtf/Vector.h"
56 #include "wtf/text/AtomicStringHash.h" 56 #include "wtf/text/AtomicStringHash.h"
57 #include "wtf/text/StringHash.h" 57 #include "wtf/text/StringHash.h"
58 #include <memory> 58 #include <memory>
59 59
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 for (iter = gFallbackListShaperCache->begin(); 405 for (iter = gFallbackListShaperCache->begin();
406 iter != gFallbackListShaperCache->end(); 406 iter != gFallbackListShaperCache->end();
407 ++iter) { 407 ++iter) {
408 shapeResultCacheSize += iter->value->byteSize(); 408 shapeResultCacheSize += iter->value->byteSize();
409 } 409 }
410 dump->AddScalar("size", "bytes", shapeResultCacheSize); 410 dump->AddScalar("size", "bytes", shapeResultCacheSize);
411 memoryDump->AddSuballocation(dump->guid(), WTF::Partitions::kAllocatedObject PoolName); 411 memoryDump->AddSuballocation(dump->guid(), WTF::Partitions::kAllocatedObject PoolName);
412 } 412 }
413 413
414 } // namespace blink 414 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698