diff options
author | Mike Reed <reed@google.com> | 2017-04-12 22:29:00 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-04-13 03:05:39 +0000 |
commit | 96d5b9a273a5513fb3215fc06452cda82c3d6872 (patch) | |
tree | be69892d4a86574839414a2f405296ce26f610c2 /include | |
parent | 9fa740365215931c8208fe57a55c7ebac1303d95 (diff) |
remove unused fURI from pixelref
Bug: skia:
Change-Id: Ib25569862063b765b823b68ffdc22349a606f940
Reviewed-on: https://skia-review.googlesource.com/13324
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkPixelRef.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h index 1fd32dde3e..97aca19c6f 100644 --- a/include/core/SkPixelRef.h +++ b/include/core/SkPixelRef.h @@ -141,27 +141,6 @@ public: */ void setImmutable(); - /** Return the optional URI string associated with this pixelref. May be - null. - */ - const char* getURI() const { return fURI.size() ? fURI.c_str() : NULL; } - - /** Copy a URI string to this pixelref, or clear the URI if the uri is null - */ - void setURI(const char uri[]) { - fURI.set(uri); - } - - /** Copy a URI string to this pixelref - */ - void setURI(const char uri[], size_t len) { - fURI.set(uri, len); - } - - /** Assign a URI string to this pixelref. - */ - void setURI(const SkString& uri) { fURI = uri; } - struct LockRequest { SkISize fSize; SkFilterQuality fQuality; @@ -297,8 +276,6 @@ private: SkTDArray<GenIDChangeListener*> fGenIDChangeListeners; // pointers are owned - SkString fURI; - // Set true by caches when they cache content that's derived from the current pixels. SkAtomic<bool> fAddedToCache; |