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

Unified Diff: src/image/SkImage_Gpu.h

Issue 2353403002: Remove unused SkImage_Base and SkImage_Gpu onNewSurface methods (Closed)
Patch Set: Created 4 years, 3 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 | « src/image/SkImage_Base.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/image/SkImage_Gpu.h
diff --git a/src/image/SkImage_Gpu.h b/src/image/SkImage_Gpu.h
index a9d9c33f2d00cd0c3f193082f97b472631fd55c4..02260bcca5d3c17bf0d6a38ebfbf723dea31aec3 100644
--- a/src/image/SkImage_Gpu.h
+++ b/src/image/SkImage_Gpu.h
@@ -51,10 +51,6 @@ public:
bool onReadPixels(const SkImageInfo&, void* dstPixels, size_t dstRowBytes,
int srcX, int srcY, CachingHint) const override;
- sk_sp<SkSurface> onNewSurface(const SkImageInfo& info) const override {
- return SkSurface::MakeRenderTarget(fTexture->getContext(), SkBudgeted::kNo, info);
- }
-
private:
SkAutoTUnref<GrTexture> fTexture;
const SkAlphaType fAlphaType;
« no previous file with comments | « src/image/SkImage_Base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698