summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/src/WebFontImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/src/WebFontImpl.cpp')
-rw-r--r--Source/WebKit/chromium/src/WebFontImpl.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/WebKit/chromium/src/WebFontImpl.cpp b/Source/WebKit/chromium/src/WebFontImpl.cpp
index f6cf39dbe..8a05aed84 100644
--- a/Source/WebKit/chromium/src/WebFontImpl.cpp
+++ b/Source/WebKit/chromium/src/WebFontImpl.cpp
@@ -99,12 +99,7 @@ void WebFontImpl::drawText(WebCanvas* canvas, const WebTextRun& run, const WebFl
GraphicsContextBuilder builder(canvas);
GraphicsContext& gc = builder.context();
-#if WEBKIT_USING_SKIA
gc.platformContext()->setDrawingToImageBuffer(!canvasIsOpaque);
-#elif WEBKIT_USING_CG
- // FIXME hook canvasIsOpaque up to the platform-specific indicators for
- // whether subpixel AA can be used for this draw.
-#endif
gc.save();
gc.setFillColor(color, ColorSpaceDeviceRGB);