aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/core/SkPixmap.h3
-rw-r--r--src/core/SkAutoPixmapStorage.h5
2 files changed, 1 insertions, 7 deletions
diff --git a/include/core/SkPixmap.h b/include/core/SkPixmap.h
index 2f036e8e15..f36875e02f 100644
--- a/include/core/SkPixmap.h
+++ b/include/core/SkPixmap.h
@@ -31,9 +31,6 @@ public:
void reset();
void reset(const SkImageInfo& info, const void* addr, size_t rowBytes);
- void reset(const SkImageInfo& info) {
- this->reset(info, nullptr, 0);
- }
// overrides the colorspace in the SkImageInfo of the pixmap
void setColorSpace(sk_sp<SkColorSpace> colorSpace);
diff --git a/src/core/SkAutoPixmapStorage.h b/src/core/SkAutoPixmapStorage.h
index 5473628135..7ee3a8a5c1 100644
--- a/src/core/SkAutoPixmapStorage.h
+++ b/src/core/SkAutoPixmapStorage.h
@@ -61,10 +61,7 @@ public:
this->freeStorage();
this->INHERITED::reset(info, addr, rb);
}
- void reset(const SkImageInfo& info) {
- this->freeStorage();
- this->INHERITED::reset(info);
- }
+
bool SK_WARN_UNUSED_RESULT reset(const SkMask& mask) {
this->freeStorage();
return this->INHERITED::reset(mask);