aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2010-04-16 12:51:29 +0000
committerGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2010-04-16 12:51:29 +0000
commit51709c748e32bb115103b1468eb507f4ccaa7ee8 (patch)
tree6222a32303c6f1ce1cc4c78b8b94739c380e031f /src
parentf244f1b19f07b1c946f8d7e24decbe1809dda7f6 (diff)
remove obsolete closeStream() method -- the caller just unref's the stream when they're done
git-svn-id: http://skia.googlecode.com/svn/trunk@554 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r--src/ports/SkFontHost_linux.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ports/SkFontHost_linux.cpp b/src/ports/SkFontHost_linux.cpp
index 0b6f88efa8..c838d8ca85 100644
--- a/src/ports/SkFontHost_linux.cpp
+++ b/src/ports/SkFontHost_linux.cpp
@@ -266,7 +266,6 @@ public:
FamilyRec* getFamily() const { return fFamilyRec; }
// openStream returns a SkStream that has been ref-ed
virtual SkStream* openStream() = 0;
- virtual void closeStream(SkStream*) = 0;
virtual const char* getUniqueString() const = 0;
private:
@@ -288,7 +287,6 @@ public:
// overrides
virtual SkStream* openStream() { return NULL; }
- virtual void closeStream(SkStream*) {}
virtual const char* getUniqueString() const { return NULL; }
private:
@@ -314,7 +312,6 @@ public:
fStream->ref();
return fStream;
}
- virtual void closeStream(SkStream*) {}
virtual const char* getUniqueString() const { return NULL; }
private:
@@ -348,10 +345,7 @@ public:
}
return stream;
}
- virtual void closeStream(SkStream* stream)
- {
- SkDELETE(stream);
- }
+
virtual const char* getUniqueString() const {
const char* str = strrchr(fPath.c_str(), '/');
if (str) {