Changeset 205881 in webkit
- Timestamp:
- Sep 13, 2016 2:56:55 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r205877 r205881 1 2016-09-13 Brent Fulgham <bfulgham@apple.com> 2 3 [Win] Unreviewed build fix. 4 5 Based on a suggestion by Simon Fraser, I have corrected the 6 headers to avoid including <d2d1.h> directly, relying instead 7 on forward declarations. 8 9 * platform/graphics/FloatPoint.h: 10 * platform/graphics/FloatRect.h: 11 * platform/graphics/FloatSize.h: 12 * platform/graphics/IntPoint.h: 13 * platform/graphics/IntRect.h: 14 * platform/graphics/IntSize.h: 15 * platform/graphics/transforms/AffineTransform.h: 16 * platform/graphics/transforms/TransformationMatrix.h: 17 1 18 2016-09-13 Said Abou-Hallawa <sabouhallawa@apple.com> 2 19 -
trunk/Source/WebCore/platform/graphics/FloatPoint.h
r205871 r205881 1 1 /* 2 * Copyright (C) 2004 , 2006, 2007Apple Inc. All rights reserved.2 * Copyright (C) 2004-2016 Apple Inc. All rights reserved. 3 3 * Copyright (C) 2005 Nokia. All rights reserved. 4 4 * … … 49 49 50 50 #if PLATFORM(WIN) 51 #include <d2d1.h> 51 struct D2D_POINT_2F; 52 typedef D2D_POINT_2F D2D1_POINT_2F; 52 53 #endif 53 54 … … 154 155 155 156 #if PLATFORM(WIN) 156 WEBCORE_EXPORT FloatPoint(const D2D _POINT_2F&);157 WEBCORE_EXPORT operator D2D _POINT_2F() const;157 WEBCORE_EXPORT FloatPoint(const D2D1_POINT_2F&); 158 WEBCORE_EXPORT operator D2D1_POINT_2F() const; 158 159 #endif 159 160 -
trunk/Source/WebCore/platform/graphics/FloatRect.h
r205871 r205881 1 1 /* 2 * Copyright (C) 2003 , 2006, 2007Apple Inc. All rights reserved.2 * Copyright (C) 2003-2016 Apple Inc. All rights reserved. 3 3 * Copyright (C) 2005 Nokia. All rights reserved. 4 4 * … … 47 47 48 48 #if PLATFORM(WIN) 49 #include <d2d1.h> 49 struct D2D_RECT_F; 50 typedef D2D_RECT_F D2D1_RECT_F; 50 51 #endif 51 52 -
trunk/Source/WebCore/platform/graphics/FloatSize.h
r205871 r205881 1 1 /* 2 * Copyright (C) 2003 , 2006 Apple Inc. All rights reserved.2 * Copyright (C) 2003-2016 Apple Inc. All rights reserved. 3 3 * Copyright (C) 2005 Nokia. All rights reserved. 4 4 * 2008 Eric Seidel <eric@webkit.org> … … 49 49 50 50 #if PLATFORM(WIN) 51 #include <d2d1.h> 51 struct D2D_SIZE_F; 52 typedef D2D_SIZE_F D2D1_SIZE_F; 52 53 #endif 53 54 -
trunk/Source/WebCore/platform/graphics/IntPoint.h
r205871 r205881 34 34 #endif 35 35 36 #if PLATFORM(WIN)37 #include <d2d1.h>38 #endif39 40 36 #if USE(CG) 41 37 typedef struct CGPoint CGPoint; … … 56 52 typedef struct tagPOINT POINT; 57 53 typedef struct tagPOINTS POINTS; 54 55 struct D2D_POINT_2U; 56 typedef D2D_POINT_2U D2D1_POINT_2U; 57 58 struct D2D_POINT_2F; 59 typedef D2D_POINT_2F D2D1_POINT_2F; 58 60 #endif 59 61 -
trunk/Source/WebCore/platform/graphics/IntRect.h
r205871 r205881 30 30 #include "LayoutUnit.h" 31 31 32 #if PLATFORM(WIN)33 #include <d2d1.h>34 #endif35 36 32 #if USE(CG) 37 33 typedef struct CGRect CGRect; … … 54 50 #if PLATFORM(WIN) 55 51 typedef struct tagRECT RECT; 52 53 struct D2D_RECT_U; 54 typedef D2D_RECT_U D2D1_RECT_U; 55 56 struct D2D_RECT_F; 57 typedef D2D_RECT_F D2D1_RECT_F; 56 58 #endif 57 59 -
trunk/Source/WebCore/platform/graphics/IntSize.h
r205871 r205881 1 1 /* 2 * Copyright (C) 2003 , 2004, 2005, 2006 Apple Inc. All rights reserved.2 * Copyright (C) 2003-2016 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 34 34 #endif 35 35 36 #if PLATFORM(WIN)37 #include <d2d1.h>38 #endif39 40 36 #if USE(CG) 41 37 typedef struct CGSize CGSize; … … 58 54 #if PLATFORM(WIN) 59 55 typedef struct tagSIZE SIZE; 56 57 struct D2D_SIZE_U; 58 typedef D2D_SIZE_U D2D1_SIZE_U; 59 60 struct D2D_SIZE_F; 61 typedef D2D_SIZE_F D2D1_SIZE_F; 60 62 #endif 61 63 -
trunk/Source/WebCore/platform/graphics/transforms/AffineTransform.h
r205871 r205881 40 40 41 41 #if PLATFORM(WIN) 42 typedef struct D2D_MATRIX_3X2_FD2D_MATRIX_3X2_F;42 struct D2D_MATRIX_3X2_F; 43 43 typedef D2D_MATRIX_3X2_F D2D1_MATRIX_3X2_F; 44 44 #endif -
trunk/Source/WebCore/platform/graphics/transforms/TransformationMatrix.h
r205871 r205881 1 1 /* 2 * Copyright (C) 2005 , 2006 Apple Inc. All rights reserved.2 * Copyright (C) 2005-2016 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 52 52 53 53 #if PLATFORM(WIN) 54 typedef struct D2D_MATRIX_3X2_FD2D_MATRIX_3X2_F;54 struct D2D_MATRIX_3X2_F; 55 55 typedef D2D_MATRIX_3X2_F D2D1_MATRIX_3X2_F; 56 56 #endif
Note: See TracChangeset
for help on using the changeset viewer.