Changeset 218368 in webkit
- Timestamp:
- Jun 15, 2017, 4:49:12 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r218367 r218368 1 2017-06-15 Simon Fraser <simon.fraser@apple.com> 2 3 Allow use of Layout* TextStream operators in WebKit2 4 https://bugs.webkit.org/show_bug.cgi?id=173440 5 6 Reviewed by Zalan Bujtas. 7 8 Export TextStream& operator<< for LayoutPoint, LayoutSize and LayoutRect so that 9 WebKit2 can log them. 10 11 Use #pragma once in these geometry headers. 12 13 * platform/graphics/FloatPoint.h: 14 * platform/graphics/FloatRect.h: 15 * platform/graphics/FloatSize.h: 16 * platform/graphics/IntPoint.h: 17 * platform/graphics/IntRect.h: 18 * platform/graphics/IntSize.h: 19 * platform/graphics/LayoutPoint.h: 20 * platform/graphics/LayoutRect.h: 21 * platform/graphics/LayoutSize.h: 22 1 23 2017-06-15 Antoine Quint <graouts@apple.com> 2 24 -
trunk/Source/WebCore/platform/graphics/FloatPoint.h
r208371 r218368 25 25 */ 26 26 27 #ifndef FloatPoint_h 28 #define FloatPoint_h 27 #pragma once 29 28 30 29 #include "FloatSize.h" … … 290 289 } 291 290 292 #endif -
trunk/Source/WebCore/platform/graphics/FloatRect.h
r205881 r218368 25 25 */ 26 26 27 #ifndef FloatRect_h 28 #define FloatRect_h 27 #pragma once 29 28 30 29 #include "FloatPoint.h" … … 266 265 } 267 266 268 #endif -
trunk/Source/WebCore/platform/graphics/FloatSize.h
r208748 r218368 26 26 */ 27 27 28 #ifndef FloatSize_h 29 #define FloatSize_h 28 #pragma once 30 29 31 30 #include "IntPoint.h" … … 240 239 } // namespace WebCore 241 240 242 #endif // FloatSize_h -
trunk/Source/WebCore/platform/graphics/IntPoint.h
r212484 r218368 24 24 */ 25 25 26 #ifndef IntPoint_h 27 #define IntPoint_h 26 #pragma once 28 27 29 28 #include "IntSize.h" … … 214 213 } // namespace WebCore 215 214 216 #endif // IntPoint_h -
trunk/Source/WebCore/platform/graphics/IntRect.h
r212484 r218368 24 24 */ 25 25 26 #ifndef IntRect_h 27 #define IntRect_h 26 #pragma once 28 27 29 28 #include "IntPoint.h" … … 250 249 } // namespace WebCore 251 250 252 #endif // IntRect_h -
trunk/Source/WebCore/platform/graphics/IntSize.h
r207708 r218368 24 24 */ 25 25 26 #ifndef IntSize_h 27 #define IntSize_h 26 #pragma once 28 27 29 28 #include "PlatformExportMacros.h" … … 219 218 } // namespace WebCore 220 219 221 #endif // IntSize_h -
trunk/Source/WebCore/platform/graphics/LayoutPoint.h
r208371 r218368 29 29 */ 30 30 31 #ifndef LayoutPoint_h 32 #define LayoutPoint_h 31 #pragma once 33 32 34 33 #include "FloatPoint.h" … … 222 221 } 223 222 224 TextStream& operator<<(TextStream&, const LayoutPoint&);223 WEBCORE_EXPORT TextStream& operator<<(TextStream&, const LayoutPoint&); 225 224 226 225 } // namespace WebCore 227 226 228 #endif // LayoutPoint_h -
trunk/Source/WebCore/platform/graphics/LayoutRect.h
r206188 r218368 29 29 */ 30 30 31 #ifndef LayoutRect_h 32 #define LayoutRect_h 31 #pragma once 33 32 34 33 #include "FloatRect.h" … … 248 247 FloatRect encloseRectToDevicePixels(const LayoutRect&, float pixelSnappingFactor); 249 248 250 TextStream& operator<<(TextStream&, const LayoutRect&);249 WEBCORE_EXPORT TextStream& operator<<(TextStream&, const LayoutRect&); 251 250 252 251 } // namespace WebCore 253 252 254 #endif // LayoutRect_h -
trunk/Source/WebCore/platform/graphics/LayoutSize.h
r208748 r218368 29 29 */ 30 30 31 #ifndef LayoutSize_h 32 #define LayoutSize_h 31 #pragma once 33 32 34 33 #include "FloatSize.h" … … 192 191 } 193 192 194 TextStream& operator<<(TextStream&, const LayoutSize&);193 WEBCORE_EXPORT TextStream& operator<<(TextStream&, const LayoutSize&); 195 194 196 195 } // namespace WebCore 197 196 198 #endif // LayoutSize_h
Note:
See TracChangeset
for help on using the changeset viewer.