Title: [191263] trunk/Source/WebCore
- Revision
- 191263
- Author
- mmaxfi...@apple.com
- Date
- 2015-10-18 16:24:24 -0700 (Sun, 18 Oct 2015)
Log Message
[Cocoa] [Win] Remove unused code from GraphicsContext
https://bugs.webkit.org/show_bug.cgi?id=150304
Reviewed by Darin Adler.
No new tests because there is no behavior change.
* platform/graphics/GraphicsContext.h:
* platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContext::setAllowsFontSmoothing): Deleted.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (191262 => 191263)
--- trunk/Source/WebCore/ChangeLog 2015-10-18 22:15:18 UTC (rev 191262)
+++ trunk/Source/WebCore/ChangeLog 2015-10-18 23:24:24 UTC (rev 191263)
@@ -1,3 +1,16 @@
+2015-10-18 Myles C. Maxfield <mmaxfi...@apple.com>
+
+ [Cocoa] [Win] Remove unused code from GraphicsContext
+ https://bugs.webkit.org/show_bug.cgi?id=150304
+
+ Reviewed by Darin Adler.
+
+ No new tests because there is no behavior change.
+
+ * platform/graphics/GraphicsContext.h:
+ * platform/graphics/cg/GraphicsContextCG.cpp:
+ (WebCore::GraphicsContext::setAllowsFontSmoothing): Deleted.
+
2015-10-18 Antti Koivisto <an...@apple.com>
Computed style should work correctly with slotted elements that have display:none
Modified: trunk/Source/WebCore/platform/graphics/GraphicsContext.h (191262 => 191263)
--- trunk/Source/WebCore/platform/graphics/GraphicsContext.h 2015-10-18 22:15:18 UTC (rev 191262)
+++ trunk/Source/WebCore/platform/graphics/GraphicsContext.h 2015-10-18 23:24:24 UTC (rev 191263)
@@ -263,9 +263,6 @@
WEBCORE_EXPORT void drawNativeImage(PassNativeImagePtr, const FloatSize& selfSize, ColorSpace styleColorSpace, const FloatRect& destRect, const FloatRect& srcRect, CompositeOperator = CompositeSourceOver, BlendMode = BlendModeNormal, ImageOrientation = DefaultImageOrientation);
void clipToNativeImage(PassNativeImagePtr, const FloatRect& destRect, const FloatSize& bufferSize);
-
- // Allow font smoothing (LCD antialiasing). Not part of the graphics state.
- void setAllowsFontSmoothing(bool);
WEBCORE_EXPORT void setIsCALayerContext(bool);
bool isCALayerContext() const;
Modified: trunk/Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp (191262 => 191263)
--- trunk/Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp 2015-10-18 22:15:18 UTC (rev 191262)
+++ trunk/Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp 2015-10-18 23:24:24 UTC (rev 191263)
@@ -1480,15 +1480,6 @@
return InterpolationDefault;
}
-void GraphicsContext::setAllowsFontSmoothing(bool allowsFontSmoothing)
-{
- UNUSED_PARAM(allowsFontSmoothing);
-#if PLATFORM(COCOA)
- CGContextRef context = platformContext();
- CGContextSetAllowsFontSmoothing(context, allowsFontSmoothing);
-#endif
-}
-
void GraphicsContext::setIsCALayerContext(bool isLayerContext)
{
if (isLayerContext)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes