aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/image/SkSurface.cpp
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2018-03-19 14:18:08 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-19 20:12:05 +0000
commit53706774a7147f518e0303aa0dec0db931fac597 (patch)
tree53e797a20eb47eed2f6a379e08f17136e5744559 /src/image/SkSurface.cpp
parent371e29c69ea73de033bd2cca15ea84efc073937b (diff)
Remove SkSurface::MakeFromBackendTexture variant that doesn't take SkColorType
Bug: skia:6718 Change-Id: I8289c54ca9a5f89d10dc0b0dfe750d4fd1da0b64 Reviewed-on: https://skia-review.googlesource.com/115102 Reviewed-by: Greg Daniel <egdaniel@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'src/image/SkSurface.cpp')
-rw-r--r--src/image/SkSurface.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/image/SkSurface.cpp b/src/image/SkSurface.cpp
index 3ff7128014..3d95e9baef 100644
--- a/src/image/SkSurface.cpp
+++ b/src/image/SkSurface.cpp
@@ -279,12 +279,6 @@ sk_sp<SkSurface> SkSurface::MakeRenderTarget(GrContext*, SkBudgeted, const SkIma
sk_sp<SkSurface> SkSurface::MakeFromBackendTexture(GrContext*, const GrBackendTexture&,
GrSurfaceOrigin origin, int sampleCnt,
- sk_sp<SkColorSpace>, const SkSurfaceProps*) {
- return nullptr;
-}
-
-sk_sp<SkSurface> SkSurface::MakeFromBackendTexture(GrContext*, const GrBackendTexture&,
- GrSurfaceOrigin origin, int sampleCnt,
SkColorType, sk_sp<SkColorSpace>,
const SkSurfaceProps*) {
return nullptr;