remove (unused) duplicate field of fUniqueID

Change-Id: I0e9fe683950ec4905a8bdaa2e965f7bc0287b91a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/295918
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Reed <reed@google.com>
This commit is contained in:
Mike Reed 2020-06-11 21:35:18 -04:00 committed by Skia Commit-Bot
parent b4120795b8
commit 31c0bcf5ea
2 changed files with 0 additions and 3 deletions

View File

@ -128,7 +128,6 @@ SkImage_Lazy::SkImage_Lazy(Validator* validator)
, fSharedGenerator(std::move(validator->fSharedGenerator))
, fOrigin(validator->fOrigin) {
SkASSERT(fSharedGenerator);
fUniqueID = validator->fUniqueID;
}

View File

@ -82,8 +82,6 @@ private:
sk_sp<SharedGenerator> fSharedGenerator;
const SkIPoint fOrigin;
uint32_t fUniqueID;
// Repeated calls to onMakeColorTypeAndColorSpace will result in a proliferation of unique IDs
// and SkImage_Lazy instances. Cache the result of the last successful call.
mutable SkMutex fOnMakeColorTypeAndSpaceMutex;