Changeset 147862 in webkit
- Timestamp:
- Apr 6, 2013 6:30:21 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r147861 r147862 1 2013-04-06 Benjamin Poulain <benjamin@webkit.org> 2 3 Clean platform/graphics/cg of the chromium bits 4 https://bugs.webkit.org/show_bug.cgi?id=114106 5 6 Reviewed by Anders Carlsson. 7 8 * platform/graphics/cg/BitmapImageCG.cpp: 9 * platform/graphics/cg/GraphicsContextCG.cpp: 10 (WebCore::GraphicsContext::roundToDevicePixels): 11 * platform/graphics/cg/GraphicsContextPlatformPrivateCG.h: 12 (GraphicsContextPlatformPrivate): 13 * platform/graphics/cg/ImageBufferCG.cpp: 14 * platform/graphics/cg/ImageCG.cpp: 15 * platform/graphics/cg/PathCG.cpp: 16 * platform/graphics/cg/PatternCG.cpp: 17 1 18 2013-04-06 Timothy Hatcher <timothy@apple.com> 2 19 -
trunk/Source/WebCore/platform/graphics/cg/BitmapImageCG.cpp
r147265 r147862 36 36 #include <wtf/RetainPtr.h> 37 37 38 #if PLATFORM(MAC) || PLATFORM(CHROMIUM)38 #if PLATFORM(MAC) 39 39 #include "WebCoreSystemInterface.h" 40 40 #endif -
trunk/Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp
r147750 r147862 46 46 #include <wtf/UnusedParam.h> 47 47 48 #if PLATFORM(MAC) || PLATFORM(CHROMIUM)48 #if PLATFORM(MAC) 49 49 #include "WebCoreSystemInterface.h" 50 50 #endif … … 54 54 #endif 55 55 56 #if PLATFORM(MAC) || (PLATFORM(CHROMIUM) && OS(DARWIN))56 #if PLATFORM(MAC) 57 57 58 58 #if PLATFORM(IOS) || __MAC_OS_X_VERSION_MAX_ALLOWED >= 1060 … … 1298 1298 FloatRect GraphicsContext::roundToDevicePixels(const FloatRect& rect, RoundingMode roundingMode) 1299 1299 { 1300 #if PLATFORM(CHROMIUM)1301 return rect;1302 #else1303 1300 // It is not enough just to round to pixels in device space. The rotation part of the 1304 1301 // affine transform matrix to device space can mess with this conversion if we have a … … 1341 1338 FloatPoint roundedLowerRight = FloatPoint(deviceLowerRight.x / deviceScaleX, deviceLowerRight.y / deviceScaleY); 1342 1339 return FloatRect(roundedOrigin, roundedLowerRight - roundedOrigin); 1343 #endif1344 1340 } 1345 1341 -
trunk/Source/WebCore/platform/graphics/cg/GraphicsContextPlatformPrivateCG.h
r94897 r147862 52 52 } 53 53 54 #if PLATFORM(MAC) || PLATFORM(CHROMIUM)54 #if PLATFORM(MAC) 55 55 // These methods do nothing on Mac. 56 56 void save() {} -
trunk/Source/WebCore/platform/graphics/cg/ImageBufferCG.cpp
r147622 r147862 45 45 #include <wtf/text/WTFString.h> 46 46 47 #if PLATFORM(MAC) || PLATFORM(CHROMIUM)47 #if PLATFORM(MAC) 48 48 #include "WebCoreSystemInterface.h" 49 49 #endif -
trunk/Source/WebCore/platform/graphics/cg/ImageCG.cpp
r147710 r147862 36 36 #include <wtf/RetainPtr.h> 37 37 38 #if PLATFORM(MAC) || PLATFORM(CHROMIUM)38 #if PLATFORM(MAC) 39 39 #include "WebCoreSystemInterface.h" 40 40 #endif -
trunk/Source/WebCore/platform/graphics/cg/PathCG.cpp
r147710 r147862 40 40 #include <wtf/text/WTFString.h> 41 41 42 #if PLATFORM(MAC) || PLATFORM(CHROMIUM)42 #if PLATFORM(MAC) 43 43 #include "WebCoreSystemInterface.h" 44 44 #endif -
trunk/Source/WebCore/platform/graphics/cg/PatternCG.cpp
r111143 r147862 33 33 #include <wtf/MainThread.h> 34 34 35 #if PLATFORM(MAC) || PLATFORM(CHROMIUM)35 #if PLATFORM(MAC) 36 36 #include "WebCoreSystemInterface.h" 37 37 #endif
Note: See TracChangeset
for help on using the changeset viewer.