Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Unified Diff: ui/gfx/blit.cc

Issue 1138753003: Remove unused blitting functions from ui/gfx/blit.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/blit.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/blit.cc
diff --git a/ui/gfx/blit.cc b/ui/gfx/blit.cc
index a484c160867896f964cda460dc55da27358ffac4..a32b8881328366ca9f1ff7c0838349b060ac7335 100644
--- a/ui/gfx/blit.cc
+++ b/ui/gfx/blit.cc
@@ -87,26 +87,6 @@ void BlitContextToContext(NativeDrawingContext dst_context,
#endif
}
-void BlitContextToCanvas(SkCanvas *dst_canvas,
- const Rect& dst_rect,
- NativeDrawingContext src_context,
- const Point& src_origin) {
- DCHECK(skia::SupportsPlatformPaint(dst_canvas));
- BlitContextToContext(skia::BeginPlatformPaint(dst_canvas), dst_rect,
- src_context, src_origin);
- skia::EndPlatformPaint(dst_canvas);
-}
-
-void BlitCanvasToContext(NativeDrawingContext dst_context,
- const Rect& dst_rect,
- SkCanvas *src_canvas,
- const Point& src_origin) {
- DCHECK(skia::SupportsPlatformPaint(src_canvas));
- BlitContextToContext(dst_context, dst_rect,
- skia::BeginPlatformPaint(src_canvas), src_origin);
- skia::EndPlatformPaint(src_canvas);
-}
-
void BlitCanvasToCanvas(SkCanvas *dst_canvas,
const Rect& dst_rect,
SkCanvas *src_canvas,
« no previous file with comments | « ui/gfx/blit.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698