| Index: Source/platform/graphics/GraphicsContext.cpp
|
| diff --git a/Source/platform/graphics/GraphicsContext.cpp b/Source/platform/graphics/GraphicsContext.cpp
|
| index b71030fa6955ed67c836b98ed5f443850954eafe..413b4e19988745ec4a7e01daf879ec726333c3ec 100644
|
| --- a/Source/platform/graphics/GraphicsContext.cpp
|
| +++ b/Source/platform/graphics/GraphicsContext.cpp
|
| @@ -904,13 +904,6 @@ void GraphicsContext::drawHighlightForText(const Font& font, const TextRun& run,
|
| fillRect(font.selectionRectForText(run, point, h, from, to), backgroundColor);
|
| }
|
|
|
| -void GraphicsContext::drawImage(Image* image, const IntPoint& p, SkXfermode::Mode op, RespectImageOrientationEnum shouldRespectImageOrientation)
|
| -{
|
| - if (!image)
|
| - return;
|
| - drawImage(image, FloatRect(IntRect(p, image->size())), FloatRect(FloatPoint(), FloatSize(image->size())), op, shouldRespectImageOrientation);
|
| -}
|
| -
|
| void GraphicsContext::drawImage(Image* image, const IntRect& r, SkXfermode::Mode op, RespectImageOrientationEnum shouldRespectImageOrientation)
|
| {
|
| if (!image)
|
| @@ -977,15 +970,6 @@ void GraphicsContext::drawTiledImage(Image* image, const IntRect& dest, const In
|
| image->drawTiled(this, dest, srcRect, tileScaleFactor, hRule, vRule, op);
|
| }
|
|
|
| -void GraphicsContext::writePixels(const SkImageInfo& info, const void* pixels, size_t rowBytes, int x, int y)
|
| -{
|
| - if (contextDisabled())
|
| - return;
|
| - ASSERT(m_canvas);
|
| -
|
| - m_canvas->writePixels(info, pixels, rowBytes, x, y);
|
| -}
|
| -
|
| void GraphicsContext::drawOval(const SkRect& oval, const SkPaint& paint)
|
| {
|
| if (contextDisabled())
|
| @@ -1326,16 +1310,6 @@ void GraphicsContext::setURLFragmentForRect(const String& destName, const IntRec
|
| SkAnnotateLinkToDestination(m_canvas, rect, skDestName.get());
|
| }
|
|
|
| -void GraphicsContext::addURLTargetAtPoint(const String& name, const IntPoint& pos)
|
| -{
|
| - if (contextDisabled())
|
| - return;
|
| - ASSERT(m_canvas);
|
| -
|
| - SkAutoDataUnref nameData(SkData::NewWithCString(name.utf8().data()));
|
| - SkAnnotateNamedDestination(m_canvas, SkPoint::Make(pos.x(), pos.y()), nameData);
|
| -}
|
| -
|
| AffineTransform GraphicsContext::getCTM() const
|
| {
|
| ASSERT(!RuntimeEnabledFeatures::slimmingPaintEnabled());
|
|
|