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

Unified Diff: include/core/SkSurface.h

Issue 837723008: Remove deprecated SkSurface::NewRenderTarget factories (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkSurface.h
diff --git a/include/core/SkSurface.h b/include/core/SkSurface.h
index 1fd345a2fa89f05faa19e722b375f5063c355306..3d968fe12f606a8c823205a54c26cbcd7e4302b3 100644
--- a/include/core/SkSurface.h
+++ b/include/core/SkSurface.h
@@ -105,22 +105,6 @@ public:
return NewRenderTarget(gr, b, info, 0, NULL);
}
- /**
- * Deprecated - use the Budgeted param on NewRenderTarget.
- */
- static SkSurface* NewScratchRenderTarget(GrContext* gr, const SkImageInfo& info,
- int sampleCount, const SkSurfaceProps* props) {
- return NewRenderTarget(gr, kYes_Budgeted, info, sampleCount, props);
- }
-
- /**
- * Deprecated - use the version that takes a Budgeted param.
- */
- static SkSurface* NewRenderTarget(GrContext* gr, const SkImageInfo& info, int sampleCount,
- const SkSurfaceProps* props) {
- return NewRenderTarget(gr, kNo_Budgeted, info, sampleCount, props);
- }
-
int width() const { return fWidth; }
int height() const { return fHeight; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698