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:
parent
b4120795b8
commit
31c0bcf5ea
@ -128,7 +128,6 @@ SkImage_Lazy::SkImage_Lazy(Validator* validator)
|
||||
, fSharedGenerator(std::move(validator->fSharedGenerator))
|
||||
, fOrigin(validator->fOrigin) {
|
||||
SkASSERT(fSharedGenerator);
|
||||
fUniqueID = validator->fUniqueID;
|
||||
}
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user