summaryrefslogtreecommitdiffstats
path: root/webkit/port/platform/graphics/ImageSkia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/port/platform/graphics/ImageSkia.cpp')
-rw-r--r--webkit/port/platform/graphics/ImageSkia.cpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/webkit/port/platform/graphics/ImageSkia.cpp b/webkit/port/platform/graphics/ImageSkia.cpp
index 0a5b7a2..cf82481 100644
--- a/webkit/port/platform/graphics/ImageSkia.cpp
+++ b/webkit/port/platform/graphics/ImageSkia.cpp
@@ -273,36 +273,6 @@ void BitmapImage::checkForSolidColor()
{
}
-bool BitmapImage::getHBITMAP(HBITMAP bmp)
-{
- NativeImageSkia* bm = nativeImageForCurrentFrame();
- if (!bm)
- return false;
-
- // |bmp| is already allocated and sized correctly, we just need to draw
- // into it.
- BITMAPINFOHEADER hdr;
- gfx::CreateBitmapHeader(bm->width(), bm->height(), &hdr);
- SkAutoLockPixels bm_lock(*bm);
- return SetDIBits(0, bmp, 0, bm->height(), bm->getPixels(),
- reinterpret_cast<BITMAPINFO*>(&hdr), DIB_RGB_COLORS) ==
- bm->height();
-}
-
-bool BitmapImage::getHBITMAPOfSize(HBITMAP bmp, LPSIZE size)
-{
- notImplemented();
- return false;
-}
-
-void BitmapImage::drawFrameMatchingSourceSize(GraphicsContext*,
- const FloatRect& dstRect,
- const IntSize& srcSize,
- CompositeOperator)
-{
- notImplemented();
-}
-
void BitmapImage::draw(GraphicsContext* ctxt, const FloatRect& dstRect,
const FloatRect& srcRect, CompositeOperator compositeOp)
{