OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2005, 2006, 2010, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2005, 2006, 2010, 2011 Apple Inc. All rights reserved. |
3 * Copyright (C) 2006 Alexey Proskuryakov | 3 * Copyright (C) 2006 Alexey Proskuryakov |
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 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 13 matching lines...) Expand all Loading... |
24 * THE POSSIBILITY OF SUCH DAMAGE. | 24 * THE POSSIBILITY OF SUCH DAMAGE. |
25 */ | 25 */ |
26 | 26 |
27 #import "config.h" | 27 #import "config.h" |
28 #import "platform/fonts/SimpleFontData.h" | 28 #import "platform/fonts/SimpleFontData.h" |
29 | 29 |
30 #import <AppKit/AppKit.h> | 30 #import <AppKit/AppKit.h> |
31 #import <ApplicationServices/ApplicationServices.h> | 31 #import <ApplicationServices/ApplicationServices.h> |
32 #import <float.h> | 32 #import <float.h> |
33 #import <unicode/uchar.h> | 33 #import <unicode/uchar.h> |
34 #import "RuntimeEnabledFeatures.h" | |
35 #import "platform/LayoutTestSupport.h" | 34 #import "platform/LayoutTestSupport.h" |
| 35 #import "platform/RuntimeEnabledFeatures.h" |
36 #import "platform/SharedBuffer.h" | 36 #import "platform/SharedBuffer.h" |
37 #import "platform/fonts/Font.h" | 37 #import "platform/fonts/Font.h" |
38 #import "platform/fonts/FontCache.h" | 38 #import "platform/fonts/FontCache.h" |
39 #import "platform/fonts/FontDescription.h" | 39 #import "platform/fonts/FontDescription.h" |
40 #import "platform/geometry/FloatRect.h" | 40 #import "platform/geometry/FloatRect.h" |
41 #import "platform/graphics/Color.h" | 41 #import "platform/graphics/Color.h" |
42 #import "platform/mac/BlockExceptions.h" | 42 #import "platform/mac/BlockExceptions.h" |
43 #import <wtf/Assertions.h> | 43 #import <wtf/Assertions.h> |
44 #import <wtf/RetainPtr.h> | 44 #import <wtf/RetainPtr.h> |
45 #import <wtf/StdLibExtras.h> | 45 #import <wtf/StdLibExtras.h> |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 RetainPtr<CGFontRef> runCGFont(AdoptCF, CTFontCopyGraphicsFont(runFont,
0)); | 447 RetainPtr<CGFontRef> runCGFont(AdoptCF, CTFontCopyGraphicsFont(runFont,
0)); |
448 if (!CFEqual(runCGFont.get(), cgFont.get())) | 448 if (!CFEqual(runCGFont.get(), cgFont.get())) |
449 return false; | 449 return false; |
450 } | 450 } |
451 | 451 |
452 addResult.storedValue->value = true; | 452 addResult.storedValue->value = true; |
453 return true; | 453 return true; |
454 } | 454 } |
455 | 455 |
456 } // namespace WebCore | 456 } // namespace WebCore |
OLD | NEW |