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

Unified Diff: src/core/SkColorShader.h

Issue 1287263005: change asABitmap to isABitmap on shader (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 4 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
Index: src/core/SkColorShader.h
diff --git a/src/core/SkColorShader.h b/src/core/SkColorShader.h
index ee196c09ff947266d857722a14975503f2f5ebcf..6702ef6085e92cab607a1de28507853ae065d0e9 100644
--- a/src/core/SkColorShader.h
+++ b/src/core/SkColorShader.h
@@ -47,11 +47,6 @@ public:
typedef SkShader::Context INHERITED;
};
- // we return false for this, use asAGradient
- virtual BitmapType asABitmap(SkBitmap* outTexture,
- SkMatrix* outMatrix,
- TileMode xy[2]) const override;
-
GradientType asAGradient(GradientInfo* info) const override;
bool asFragmentProcessor(GrContext*, const SkPaint&, const SkMatrix& viewM,

Powered by Google App Engine
This is Rietveld 408576698