Remove unnecessary SkFILEStream::getMemoryBase
authorLeon Scroggins III <scroggo@google.com>
Mon, 1 May 2017 14:31:27 +0000 (10:31 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Mon, 1 May 2017 15:17:15 +0000 (15:17 +0000)
It overrides the SkStream:: version, but does the same thing.

Change-Id: I857f2119a85bb3f942707ab3cef58b45a2cf4b7a
Reviewed-on: https://skia-review.googlesource.com/14828
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>

include/core/SkStream.h
src/core/SkStream.cpp

index 428f247fc551b347998b419528c4e500b8547fac..b4875adda6cea1acf0cecb95de7f237153ae7968 100644 (file)
@@ -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);
index f0e16a6ff6a9950010406dee67083ef05f42e1fd..ef86bc963ead217b229d01f129fa1423818927c5 100644 (file)
@@ -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) {