| 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 14 matching lines...) Expand all Loading... |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #import "config.h" | 27 #import "config.h" |
| 28 #import "core/platform/graphics/SimpleFontData.h" | 28 #import "core/platform/graphics/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 "BlockExceptions.h" | 34 #import "BlockExceptions.h" |
| 35 #import "SharedBuffer.h" | |
| 36 #import "WebCoreSystemInterface.h" | 35 #import "WebCoreSystemInterface.h" |
| 36 #import "core/platform/SharedBuffer.h" |
| 37 #import "core/platform/graphics/Color.h" | 37 #import "core/platform/graphics/Color.h" |
| 38 #import "core/platform/graphics/FloatRect.h" | 38 #import "core/platform/graphics/FloatRect.h" |
| 39 #import "core/platform/graphics/Font.h" | 39 #import "core/platform/graphics/Font.h" |
| 40 #import "core/platform/graphics/FontCache.h" | 40 #import "core/platform/graphics/FontCache.h" |
| 41 #import "core/platform/graphics/FontDescription.h" | 41 #import "core/platform/graphics/FontDescription.h" |
| 42 #import <wtf/Assertions.h> | 42 #import <wtf/Assertions.h> |
| 43 #import <wtf/RetainPtr.h> | 43 #import <wtf/RetainPtr.h> |
| 44 #import <wtf/StdLibExtras.h> | 44 #import <wtf/StdLibExtras.h> |
| 45 #import <wtf/UnusedParam.h> | 45 #import <wtf/UnusedParam.h> |
| 46 | 46 |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 RetainPtr<CGFontRef> runCGFont(AdoptCF, CTFontCopyGraphicsFont(runFont,
0)); | 448 RetainPtr<CGFontRef> runCGFont(AdoptCF, CTFontCopyGraphicsFont(runFont,
0)); |
| 449 if (!CFEqual(runCGFont.get(), cgFont.get())) | 449 if (!CFEqual(runCGFont.get(), cgFont.get())) |
| 450 return false; | 450 return false; |
| 451 } | 451 } |
| 452 | 452 |
| 453 addResult.iterator->value = true; | 453 addResult.iterator->value = true; |
| 454 return true; | 454 return true; |
| 455 } | 455 } |
| 456 | 456 |
| 457 } // namespace WebCore | 457 } // namespace WebCore |
| OLD | NEW |