Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(457)

Unified Diff: Source/platform/graphics/GraphicsContext.cpp

Issue 315403007: Remove GraphicsContextCG. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/blink_platform.gypi ('k') | Source/platform/graphics/cg/GraphicsContextCG.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « Source/platform/blink_platform.gypi ('k') | Source/platform/graphics/cg/GraphicsContextCG.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698