Changeset 179398 in webkit
- Timestamp:
- Jan 30, 2015, 5:56:50 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r179391 r179398 1 2015-01-30 Csaba Osztrogonác <ossy@webkit.org> 2 3 [cairo] Fix #if guards in platform/graphics/cairo directory 4 https://bugs.webkit.org/show_bug.cgi?id=141076 5 6 Reviewed by Sergio Villar Senin. 7 8 * platform/graphics/cairo/BackingStoreBackendCairo.h: 9 * platform/graphics/cairo/BitmapImageCairo.cpp: 10 * platform/graphics/cairo/CairoUtilities.cpp: 11 * platform/graphics/cairo/CairoUtilities.h: 12 * platform/graphics/cairo/DrawErrorUnderline.h: 13 * platform/graphics/cairo/DrawingBufferCairo.cpp: 14 * platform/graphics/cairo/FloatRectCairo.cpp: 15 * platform/graphics/cairo/FontCairo.cpp: 16 * platform/graphics/cairo/FontCairoHarfbuzzNG.cpp: 17 * platform/graphics/cairo/FontCustomPlatformData.h: 18 * platform/graphics/cairo/GradientCairo.cpp: 19 * platform/graphics/cairo/GraphicsContext3DCairo.cpp: 20 * platform/graphics/cairo/GraphicsContextCairo.cpp: 21 * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h: 22 * platform/graphics/cairo/ImageBufferCairo.cpp: 23 * platform/graphics/cairo/ImageBufferDataCairo.h: 24 * platform/graphics/cairo/ImageCairo.cpp: 25 * platform/graphics/cairo/IntRectCairo.cpp: 26 * platform/graphics/cairo/OwnPtrCairo.cpp: 27 * platform/graphics/cairo/OwnPtrCairo.h: 28 * platform/graphics/cairo/PathCairo.cpp: 29 * platform/graphics/cairo/PatternCairo.cpp: 30 * platform/graphics/cairo/PlatformContextCairo.cpp: 31 * platform/graphics/cairo/PlatformContextCairo.h: 32 * platform/graphics/cairo/PlatformPathCairo.cpp: 33 * platform/graphics/cairo/PlatformPathCairo.h: 34 * platform/graphics/cairo/RefPtrCairo.cpp: 35 * platform/graphics/cairo/RefPtrCairo.h: 36 * platform/graphics/cairo/TileCairo.h: 37 * platform/graphics/cairo/TransformationMatrixCairo.cpp: 38 1 39 2015-01-29 Darin Adler <darin@apple.com> 2 40 -
trunk/Source/WebCore/platform/graphics/cairo/BackingStoreBackendCairo.h
r175159 r179398 52 52 }; 53 53 54 #endif // USE(CAIRO)55 54 56 55 } // namespace WebCore 57 56 57 #endif // USE(CAIRO) 58 58 59 #endif // BackingStoreBackendCairo_h -
trunk/Source/WebCore/platform/graphics/cairo/BitmapImageCairo.cpp
r172390 r179398 28 28 #include "config.h" 29 29 #include "BitmapImage.h" 30 31 #if USE(CAIRO) 30 32 31 33 #include "CairoUtilities.h" … … 166 168 } // namespace WebCore 167 169 170 #endif // USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/cairo/CairoUtilities.cpp
r175159 r179398 27 27 #include "config.h" 28 28 #include "CairoUtilities.h" 29 30 #if USE(CAIRO) 29 31 30 32 #include "AffineTransform.h" … … 308 310 309 311 } // namespace WebCore 312 313 #endif // USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/cairo/CairoUtilities.h
r175159 r179398 27 27 #ifndef CairoUtilities_h 28 28 #define CairoUtilities_h 29 30 #if USE(CAIRO) 29 31 30 32 #include "GraphicsTypes.h" … … 66 68 } // namespace WebCore 67 69 70 #endif // USE(CAIRO) 71 68 72 #endif // CairoUtilities_h -
trunk/Source/WebCore/platform/graphics/cairo/DrawErrorUnderline.h
r151125 r179398 22 22 */ 23 23 24 #if USE(CAIRO)25 26 24 #ifndef DrawErrorUnderline_h 27 25 #define DrawErrorUnderline_h 26 27 #if USE(CAIRO) 28 28 29 29 #include <cairo.h> … … 102 102 } 103 103 104 #endif // USE(CAIRO) 105 104 106 #endif // DrawErrorUnderline_h 105 106 #endif -
trunk/Source/WebCore/platform/graphics/cairo/DrawingBufferCairo.cpp
r165676 r179398 25 25 26 26 #include "config.h" 27 28 #if ENABLE(ACCELERATED_2D_CANVAS) || USE(3D_GRAPHICS)29 30 27 #include "DrawingBuffer.h" 31 28 29 #if USE(CAIRO) && (ENABLE(ACCELERATED_2D_CANVAS) || USE(3D_GRAPHICS)) 32 30 #include "Extensions3D.h" 33 31 … … 45 43 } 46 44 47 #endif 45 #endif // USE(CAIRO) && (ENABLE(ACCELERATED_2D_CANVAS) || USE(3D_GRAPHICS)) -
trunk/Source/WebCore/platform/graphics/cairo/FloatRectCairo.cpp
r165676 r179398 27 27 #include "FloatRect.h" 28 28 29 #if USE(CAIRO) 30 29 31 #include <cairo.h> 30 32 … … 44 46 45 47 } // namespace WebCore 48 49 #endif // USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/cairo/FontCairo.cpp
r178940 r179398 32 32 #include "FontCascade.h" 33 33 34 #if USE(CAIRO) 35 34 36 #include "AffineTransform.h" 35 37 #include "CairoUtilities.h" … … 356 358 return result; 357 359 } 358 #endif 359 360 } 360 #endif // ENABLE(CSS3_TEXT_DECORATION_SKIP_INK) 361 362 } // namespace WebCore 363 364 #endif // USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/cairo/FontCairoHarfbuzzNG.cpp
r178940 r179398 28 28 #include "FontCascade.h" 29 29 30 #if USE(CAIRO) 31 30 32 #include "Font.h" 31 33 #include "GraphicsContext.h" … … 38 40 39 41 namespace WebCore { 40 41 42 42 43 float FontCascade::getGlyphsAndAdvancesForComplexText(const TextRun& run, int, int, GlyphBuffer& glyphBuffer, ForTextEmphasisOrNot /* forTextEmphasis */) const … … 51 52 return 0; 52 53 } 54 53 55 float FontCascade::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point, int from, int to) const 54 56 { … … 114 116 } 115 117 116 } 118 } // namespace WebCore 119 120 #endif // USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/cairo/FontCustomPlatformData.h
r178717 r179398 22 22 #ifndef FontCustomPlatformData_h 23 23 #define FontCustomPlatformData_h 24 25 #if USE(CAIRO) 24 26 25 27 #include "FontOrientation.h" … … 51 53 std::unique_ptr<FontCustomPlatformData> createFontCustomPlatformData(SharedBuffer&); 52 54 53 } 55 } // namespace WebCore 54 56 55 #endif 57 #endif // USE(CAIRO) 58 59 #endif // FontCustomPlatformData_h -
trunk/Source/WebCore/platform/graphics/cairo/GradientCairo.cpp
r177316 r179398 27 27 #include "config.h" 28 28 #include "Gradient.h" 29 30 #if USE(CAIRO) 29 31 30 32 #include "GraphicsContext.h" … … 107 109 } 108 110 109 } //namespace 111 } // namespace WebCore 112 113 #endif // USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp
r178166 r179398 28 28 #include "config.h" 29 29 30 #if USE(CAIRO) 31 30 32 #if USE(3D_GRAPHICS) 31 33 #include "GraphicsContext3D.h" … … 308 310 309 311 #endif // USE(3D_GRAPHICS) 312 313 #endif // USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp
r178940 r179398 1107 1107 setCTM(transform.toAffineTransform()); 1108 1108 } 1109 #endif 1109 #endif // ENABLE(3D_RENDERING) && USE(TEXTURE_MAPPER) 1110 1110 1111 1111 } // namespace WebCore -
trunk/Source/WebCore/platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h
r174041 r179398 30 30 31 31 #include "GraphicsContext.h" 32 33 #if USE(CAIRO) 32 34 33 35 #include "PlatformContextCairo.h" … … 115 117 } // namespace WebCore 116 118 119 #endif // USE(CAIRO) 120 117 121 #endif // GraphicsContextPlatformPrivateCairo_h -
trunk/Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp
r171083 r179398 30 30 #include "ImageBuffer.h" 31 31 32 #if USE(CAIRO) 33 32 34 #include "BitmapImage.h" 33 35 #include "CairoUtilities.h" … … 419 421 420 422 } // namespace WebCore 423 424 #endif // USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/cairo/ImageBufferDataCairo.h
r172580 r179398 26 26 #ifndef ImageBufferDataCairo_h 27 27 #define ImageBufferDataCairo_h 28 29 #if USE(CAIRO) 28 30 29 31 #include "PlatformContextCairo.h" … … 59 61 } // namespace WebCore 60 62 63 #endif // USE(CAIRO) 64 61 65 #endif // ImageBufferDataCairo_h -
trunk/Source/WebCore/platform/graphics/cairo/ImageCairo.cpp
r166582 r179398 56 56 } 57 57 58 } 58 } // namespace WebCore 59 59 60 60 #endif // USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/cairo/IntRectCairo.cpp
r89133 r179398 22 22 #include "IntRect.h" 23 23 24 #if USE(CAIRO) 25 24 26 #include <cairo.h> 25 27 … … 38 40 } 39 41 40 } 42 } // namespace WebCore 43 44 #endif // USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/cairo/OwnPtrCairo.cpp
r95901 r179398 20 20 #include "config.h" 21 21 #include "OwnPtrCairo.h" 22 23 #if USE(CAIRO) 22 24 23 25 #if USE(FREETYPE) … … 51 53 52 54 } // namespace WTF 55 56 #endif // USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/cairo/OwnPtrCairo.h
r110910 r179398 21 21 #define OwnPtrCairo_h 22 22 23 #if USE(CAIRO) 24 23 25 #include <wtf/OwnPtr.h> 24 26 #include <wtf/PassOwnPtr.h> … … 42 44 } // namespace WTF 43 45 44 #endif 46 #endif // USE(CAIRO) 47 48 #endif // OwnPtrCairo_h -
trunk/Source/WebCore/platform/graphics/cairo/PathCairo.cpp
r165910 r179398 26 26 #include "config.h" 27 27 #include "Path.h" 28 29 #if USE(CAIRO) 28 30 29 31 #include "AffineTransform.h" … … 410 412 411 413 } // namespace WebCore 414 415 #endif // USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/cairo/PatternCairo.cpp
r165676 r179398 27 27 #include "Pattern.h" 28 28 29 #if USE(CAIRO) 30 29 31 #include "AffineTransform.h" 30 32 #include "GraphicsContext.h" … … 51 53 } 52 54 53 } 55 } // namespace WebCore 56 57 #endif // USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/cairo/PlatformContextCairo.cpp
r165676 r179398 29 29 #include "PlatformContextCairo.h" 30 30 31 #if USE(CAIRO) 32 31 33 #include "CairoUtilities.h" 32 34 #include "Gradient.h" … … 340 342 341 343 } // namespace WebCore 344 345 #endif // USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/cairo/PlatformContextCairo.h
r165676 r179398 26 26 #ifndef PlatformContextCairo_h 27 27 #define PlatformContextCairo_h 28 29 #if USE(CAIRO) 28 30 29 31 #include "GraphicsContext.h" … … 85 87 } // namespace WebCore 86 88 89 #endif // USE(CAIRO) 90 87 91 #endif // PlatformContextCairo_h -
trunk/Source/WebCore/platform/graphics/cairo/PlatformPathCairo.cpp
r95901 r179398 21 21 #include "PlatformPathCairo.h" 22 22 23 #if USE(CAIRO) 24 23 25 #include <cairo.h> 24 26 … … 37 39 } 38 40 39 } 41 } // namespace WebCore 42 43 #endif // USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/cairo/PlatformPathCairo.h
r95901 r179398 22 22 #define PlatformPathCairo_h 23 23 24 #if USE(CAIRO) 25 24 26 #include "RefPtrCairo.h" 25 27 … … 41 43 } // namespace WebCore 42 44 45 #endif // USE(CAIRO) 46 43 47 #endif // PlatformPathCairo_h -
trunk/Source/WebCore/platform/graphics/cairo/RefPtrCairo.cpp
r100021 r179398 19 19 #include "config.h" 20 20 #include "RefPtrCairo.h" 21 22 #if USE(CAIRO) 21 23 22 24 #include <cairo.h> … … 116 118 #endif 117 119 118 } 120 } // namespace WTF 121 122 #endif // USE(CAIRO) -
trunk/Source/WebCore/platform/graphics/cairo/RefPtrCairo.h
r110910 r179398 20 20 #ifndef RefPtrCairo_h 21 21 #define RefPtrCairo_h 22 23 #if USE(CAIRO) 22 24 23 25 #include <wtf/RefPtr.h> … … 59 61 #endif 60 62 61 } 63 } // namespace WTF 64 65 #endif // USE(CAIRO) 62 66 63 67 #endif // RefPtrCairo_h -
trunk/Source/WebCore/platform/graphics/cairo/TileCairo.h
r100021 r179398 71 71 }; 72 72 73 } 74 #endif 75 #endif 73 } // namespace WebCore 76 74 75 #endif // USE(TILED_BACKING_STORE) && USE(CAIRO) 76 77 #endif // TileCairo_h -
trunk/Source/WebCore/platform/graphics/cairo/TransformationMatrixCairo.cpp
r165676 r179398 24 24 25 25 #include "config.h" 26 #include "AffineTransform.h"27 26 #include "TransformationMatrix.h" 28 27 28 #if USE(CAIRO) 29 30 #include "AffineTransform.h" 29 31 #include "FloatRect.h" 30 32 #include "IntRect.h" 31 32 33 #include <cairo.h> 33 34 … … 62 63 } 63 64 64 } 65 } // namespace WebCore 65 66 66 // vim: ts=4 sw=4 et 67 #endif // USE(CAIRO)
Note:
See TracChangeset
for help on using the changeset viewer.