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

Unified Diff: ui/gfx/canvas.cc

Issue 1403973002: Remove unused gfx::Canvas API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/canvas.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/canvas.cc
diff --git a/ui/gfx/canvas.cc b/ui/gfx/canvas.cc
index 49e32350a42e45c8c498aa7cd00534f6c578b4fb..da4911b7c2955f27ac707e7922037f611857ecea 100644
--- a/ui/gfx/canvas.cc
+++ b/ui/gfx/canvas.cc
@@ -531,14 +531,6 @@ void Canvas::TileImageInt(const ImageSkia& image,
canvas_->drawRect(dest_rect, paint);
}
-NativeDrawingContext Canvas::BeginPlatformPaint() {
- return skia::BeginPlatformPaint(canvas_);
-}
-
-void Canvas::EndPlatformPaint() {
- skia::EndPlatformPaint(canvas_);
-}
-
void Canvas::Transform(const gfx::Transform& transform) {
canvas_->concat(transform.matrix());
}
« no previous file with comments | « ui/gfx/canvas.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698