aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/core/SkStream.h2
-rw-r--r--src/core/SkStream.cpp4
2 files changed, 0 insertions, 6 deletions
diff --git a/include/core/SkStream.h b/include/core/SkStream.h
index 428f247fc5..b4875adda6 100644
--- a/include/core/SkStream.h
+++ b/include/core/SkStream.h
@@ -282,8 +282,6 @@ public:
size_t getLength() const override;
- const void* getMemoryBase() override;
-
private:
explicit SkFILEStream(std::shared_ptr<FILE>, size_t size, size_t offset);
explicit SkFILEStream(std::shared_ptr<FILE>, size_t size, size_t offset, size_t originalOffset);
diff --git a/src/core/SkStream.cpp b/src/core/SkStream.cpp
index f0e16a6ff6..ef86bc963e 100644
--- a/src/core/SkStream.cpp
+++ b/src/core/SkStream.cpp
@@ -242,10 +242,6 @@ size_t SkFILEStream::getLength() const {
return fSize;
}
-const void* SkFILEStream::getMemoryBase() {
- return nullptr;
-}
-
///////////////////////////////////////////////////////////////////////////////
static sk_sp<SkData> newFromParams(const void* src, size_t size, bool copyData) {