Changeset 95487 in webkit
- Timestamp:
- Sep 19, 2011 3:54:53 PM (13 years ago)
- Location:
- trunk/Source
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r95486 r95487 1 2011-09-19 Adam Barth <abarth@webkit.org> 2 3 Rename ENABLE(OPENTYPE_SANITIZER) to USE(OPENTYPE_SANITIZER) 4 https://bugs.webkit.org/show_bug.cgi?id=68292 5 6 Reviewed by Eric Seidel. 7 8 OpenType Sanitizer is a library for sanitizing type and not a feature. 9 Therefore this macro should say that we USE the library. 10 11 * platform/graphics/WOFFFileFormat.cpp: 12 * platform/graphics/WOFFFileFormat.h: 13 * platform/graphics/mac/FontCustomPlatformData.cpp: 14 (WebCore::createFontCustomPlatformData): 15 * platform/graphics/opentype/OpenTypeSanitizer.cpp: 16 * platform/graphics/opentype/OpenTypeSanitizer.h: 17 * platform/graphics/skia/FontCustomPlatformData.cpp: 18 (WebCore::createFontCustomPlatformData): 19 (WebCore::FontCustomPlatformData::supportsFormat): 20 1 21 2011-09-19 Adam Barth <abarth@webkit.org> 2 22 -
trunk/Source/WebCore/platform/graphics/WOFFFileFormat.cpp
r84061 r95487 28 28 #include <zlib.h> 29 29 30 #if ! ENABLE(OPENTYPE_SANITIZER)30 #if !USE(OPENTYPE_SANITIZER) 31 31 32 32 #include "SharedBuffer.h" … … 252 252 } // namespace WebCore 253 253 254 #endif // ! ENABLE(OPENTYPE_SANITIZER)254 #endif // !USE(OPENTYPE_SANITIZER) -
trunk/Source/WebCore/platform/graphics/WOFFFileFormat.h
r64434 r95487 27 27 #define WOFFFileFormat_h 28 28 29 #if ! ENABLE(OPENTYPE_SANITIZER)29 #if !USE(OPENTYPE_SANITIZER) 30 30 31 31 #include <wtf/Vector.h> … … 44 44 } // namespace WebCore 45 45 46 #endif // ! ENABLE(OPENTYPE_SANITIZER)46 #endif // !USE(OPENTYPE_SANITIZER) 47 47 48 48 #endif // WOFFFileFormat_h -
trunk/Source/WebCore/platform/graphics/mac/FontCustomPlatformData.cpp
r94838 r95487 98 98 ASSERT_ARG(buffer, buffer); 99 99 100 #if ENABLE(OPENTYPE_SANITIZER)100 #if USE(OPENTYPE_SANITIZER) 101 101 OpenTypeSanitizer sanitizer(buffer); 102 102 RefPtr<SharedBuffer> transcodeBuffer = sanitizer.sanitize(); -
trunk/Source/WebCore/platform/graphics/opentype/OpenTypeSanitizer.cpp
r58517 r95487 30 30 31 31 #include "config.h" 32 #if ENABLE(OPENTYPE_SANITIZER)32 #if USE(OPENTYPE_SANITIZER) 33 33 #include "OpenTypeSanitizer.h" 34 34 … … 67 67 } // namespace WebCore 68 68 69 #endif // ENABLE(OPENTYPE_SANITIZER)69 #endif // USE(OPENTYPE_SANITIZER) -
trunk/Source/WebCore/platform/graphics/opentype/OpenTypeSanitizer.h
r51623 r95487 32 32 #define OpenTypeSanitizer_h 33 33 34 #if ENABLE(OPENTYPE_SANITIZER)34 #if USE(OPENTYPE_SANITIZER) 35 35 #include <wtf/Forward.h> 36 36 … … 54 54 } // namespace WebCore 55 55 56 #endif // ENABLE(OPENTYPE_SANITIZER)56 #endif // USE(OPENTYPE_SANITIZER) 57 57 #endif // OpenTypeSanitizer_h -
trunk/Source/WebCore/platform/graphics/skia/FontCustomPlatformData.cpp
r94838 r95487 171 171 ASSERT_ARG(buffer, buffer); 172 172 173 #if ENABLE(OPENTYPE_SANITIZER)173 #if USE(OPENTYPE_SANITIZER) 174 174 OpenTypeSanitizer sanitizer(buffer); 175 175 RefPtr<SharedBuffer> transcodeBuffer = sanitizer.sanitize(); … … 204 204 { 205 205 return equalIgnoringCase(format, "truetype") || equalIgnoringCase(format, "opentype") 206 #if ENABLE(OPENTYPE_SANITIZER)206 #if USE(OPENTYPE_SANITIZER) 207 207 || equalIgnoringCase(format, "woff") 208 208 #endif -
trunk/Source/WebKit/chromium/ChangeLog
r95483 r95487 1 2011-09-19 Adam Barth <abarth@webkit.org> 2 3 Rename ENABLE(OPENTYPE_SANITIZER) to USE(OPENTYPE_SANITIZER) 4 https://bugs.webkit.org/show_bug.cgi?id=68292 5 6 Reviewed by Eric Seidel. 7 8 * features.gypi: 9 1 10 2011-09-19 Sheriff Bot <webkit.review.bot@gmail.com> 2 11 -
trunk/Source/WebKit/chromium/features.gypi
r95373 r95487 65 65 'ENABLE_NOTIFICATIONS=1', 66 66 'ENABLE_OFFLINE_WEB_APPLICATIONS=1', 67 'ENABLE_OPENTYPE_SANITIZER=1',68 67 'ENABLE_ORIENTATION_EVENTS=0', 69 68 'ENABLE_PAGE_VISIBILITY_API=1', … … 95 94 # We can't define it here because it should be present only 96 95 # in Debug or release_valgrind_build=1 builds. 96 'WTF_USE_OPENTYPE_SANITIZER=1', 97 97 'WTF_USE_WEBP=1', 98 98 'WTF_USE_WEBKIT_IMAGE_DECODERS=1',
Note: See TracChangeset
for help on using the changeset viewer.