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

Side by Side Diff: Source/platform/fonts/FontCache.h

Issue 437213004: wtf/Vector.h included more than necessary (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « Source/core/plugins/DOMPluginArray.cpp ('k') | Source/platform/fonts/FontCache.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2008 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006, 2008 Apple Computer, Inc. All rights reserved.
3 * Copyright (C) 2007-2008 Torch Mobile, Inc. 3 * Copyright (C) 2007-2008 Torch Mobile, Inc.
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 19 matching lines...) Expand all
30 #ifndef FontCache_h 30 #ifndef FontCache_h
31 #define FontCache_h 31 #define FontCache_h
32 32
33 #include <limits.h> 33 #include <limits.h>
34 #include "platform/PlatformExport.h" 34 #include "platform/PlatformExport.h"
35 #include "platform/fonts/FontFaceCreationParams.h" 35 #include "platform/fonts/FontFaceCreationParams.h"
36 #include "wtf/Forward.h" 36 #include "wtf/Forward.h"
37 #include "wtf/HashMap.h" 37 #include "wtf/HashMap.h"
38 #include "wtf/PassRefPtr.h" 38 #include "wtf/PassRefPtr.h"
39 #include "wtf/RefPtr.h" 39 #include "wtf/RefPtr.h"
40 #include "wtf/Vector.h"
41 #include "wtf/text/CString.h" 40 #include "wtf/text/CString.h"
42 #include "wtf/text/WTFString.h" 41 #include "wtf/text/WTFString.h"
43 #include "wtf/unicode/Unicode.h" 42 #include "wtf/unicode/Unicode.h"
44 43
45 #if OS(WIN) 44 #if OS(WIN)
46 #include "SkFontMgr.h" 45 #include "SkFontMgr.h"
47 #include <windows.h> 46 #include <windows.h>
48 #include <objidl.h> 47 #include <objidl.h>
49 #include <mlang.h> 48 #include <mlang.h>
50 struct IDWriteFactory; 49 struct IDWriteFactory;
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 176
178 class PLATFORM_EXPORT FontCachePurgePreventer { 177 class PLATFORM_EXPORT FontCachePurgePreventer {
179 public: 178 public:
180 FontCachePurgePreventer() { FontCache::fontCache()->disablePurging(); } 179 FontCachePurgePreventer() { FontCache::fontCache()->disablePurging(); }
181 ~FontCachePurgePreventer() { FontCache::fontCache()->enablePurging(); } 180 ~FontCachePurgePreventer() { FontCache::fontCache()->enablePurging(); }
182 }; 181 };
183 182
184 } 183 }
185 184
186 #endif 185 #endif
OLDNEW
« no previous file with comments | « Source/core/plugins/DOMPluginArray.cpp ('k') | Source/platform/fonts/FontCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698