Index: Source/platform/graphics/GraphicsContext.cpp |
diff --git a/Source/platform/graphics/GraphicsContext.cpp b/Source/platform/graphics/GraphicsContext.cpp |
index 59168523c45d0d473a388605e53e925136505b12..5141626c342facafc0283bc2787db8889d80c001 100644 |
--- a/Source/platform/graphics/GraphicsContext.cpp |
+++ b/Source/platform/graphics/GraphicsContext.cpp |
@@ -52,10 +52,6 @@ |
#include "wtf/Assertions.h" |
#include "wtf/MathExtras.h" |
-#if OS(MACOSX) |
-#include <ApplicationServices/ApplicationServices.h> |
-#endif |
- |
using namespace std; |
using blink::WebBlendMode; |
@@ -1742,13 +1738,7 @@ PassRefPtr<SkColorFilter> GraphicsContext::WebCoreColorFilterToSkiaColorFilter(C |
return nullptr; |
} |
-#if OS(MACOSX) |
-CGColorSpaceRef PLATFORM_EXPORT deviceRGBColorSpaceRef() |
-{ |
- static CGColorSpaceRef deviceSpace = CGColorSpaceCreateDeviceRGB(); |
- return deviceSpace; |
-} |
-#else |
+#if !OS(MACOSX) |
void GraphicsContext::draw2xMarker(SkBitmap* bitmap, int index) |
{ |
const SkPMColor lineColor = lineColors(index); |