| Index: skia/ext/bitmap_platform_device_win.cc
|
| diff --git a/skia/ext/bitmap_platform_device_win.cc b/skia/ext/bitmap_platform_device_win.cc
|
| index d537ca06c20a0dc529359f2eaf119621d89f1f5e..34b7e2fe9b68cf30d2864112dd27cf39d688eeba 100644
|
| --- a/skia/ext/bitmap_platform_device_win.cc
|
| +++ b/skia/ext/bitmap_platform_device_win.cc
|
| @@ -33,21 +33,6 @@ void LoadClippingRegionToDC(HDC context,
|
|
|
| namespace skia {
|
|
|
| -void DrawToNativeContext(SkCanvas* canvas, HDC destination_hdc, int x, int y,
|
| - const RECT* src_rect) {
|
| - RECT temp_rect;
|
| - if (!src_rect) {
|
| - temp_rect.left = 0;
|
| - temp_rect.right = canvas->imageInfo().width();
|
| - temp_rect.top = 0;
|
| - temp_rect.bottom = canvas->imageInfo().height();
|
| - src_rect = &temp_rect;
|
| - }
|
| - skia::CopyHDC(skia::GetNativeDrawingContext(canvas), destination_hdc, x, y,
|
| - canvas->imageInfo().isOpaque(), *src_rect,
|
| - canvas->getTotalMatrix());
|
| -}
|
| -
|
| HDC GetNativeDrawingContext(SkCanvas* canvas) {
|
| PlatformDevice* platform_device = GetPlatformDevice(canvas->getTopDevice(true));
|
| if (!platform_device)
|
|
|