| Index: Source/platform/graphics/GraphicsContext.cpp
|
| diff --git a/Source/platform/graphics/GraphicsContext.cpp b/Source/platform/graphics/GraphicsContext.cpp
|
| index 6a237098cdcb61b57229a281df6ce90c46aad1ad..39b69ce9c28b383867af2f07942c82f80504d38e 100644
|
| --- a/Source/platform/graphics/GraphicsContext.cpp
|
| +++ b/Source/platform/graphics/GraphicsContext.cpp
|
| @@ -1174,18 +1174,6 @@ void GraphicsContext::writePixels(const SkImageInfo& info, const void* pixels, s
|
| }
|
| }
|
|
|
| -void GraphicsContext::writePixels(const SkBitmap& bitmap, int x, int y)
|
| -{
|
| - if (contextDisabled())
|
| - return;
|
| -
|
| - if (!bitmap.getTexture()) {
|
| - SkAutoLockPixels alp(bitmap);
|
| - if (bitmap.getPixels())
|
| - writePixels(bitmap.info(), bitmap.getPixels(), bitmap.rowBytes(), x, y);
|
| - }
|
| -}
|
| -
|
| void GraphicsContext::drawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, const SkPaint* paint)
|
| {
|
| ASSERT(m_canvas);
|
|
|