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

Unified Diff: src/utils/SkPaintFilterCanvas.cpp

Issue 1530203002: Reland of move drawSprite from canvas (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years 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 | « src/utils/SkNWayCanvas.cpp ('k') | src/utils/android/SkAndroidSDKCanvas.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/SkPaintFilterCanvas.cpp
diff --git a/src/utils/SkPaintFilterCanvas.cpp b/src/utils/SkPaintFilterCanvas.cpp
index dff1514acbfc7fb3f959ac63b8bfd2efb191c99b..ce1e4b7dbf2134f2ae5663c483c85ece9fe2adb3 100644
--- a/src/utils/SkPaintFilterCanvas.cpp
+++ b/src/utils/SkPaintFilterCanvas.cpp
@@ -110,12 +110,6 @@
this->INHERITED::onDrawBitmapNine(bm, center, dst, apf.paint());
}
-void SkPaintFilterCanvas::onDrawSprite(const SkBitmap& bm, int left, int top,
- const SkPaint* paint) {
- AutoPaintFilter apf(this, kBitmap_Type, paint);
- this->INHERITED::onDrawSprite(bm, left, top, apf.paint());
-}
-
void SkPaintFilterCanvas::onDrawVertices(VertexMode vmode, int vertexCount,
const SkPoint vertices[], const SkPoint texs[],
const SkColor colors[], SkXfermode* xmode,
« no previous file with comments | « src/utils/SkNWayCanvas.cpp ('k') | src/utils/android/SkAndroidSDKCanvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698