This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
CSSImageValue: Remove inheritance from CachedImageClient.
<http://webkit.org/b/71675> Reviewed by Antti Koivisto. CSSImageValue doesn't actually use any of the CachedImageClient functionality, and holds a reference to the resource via the CachedResourceHandle in StyleCachedImage. So we can safely remove the multiple inheritance and simplify the class. * css/CSSImageValue.cpp: (WebCore::CSSImageValue::~CSSImageValue): (WebCore::CSSImageValue::cachedImage): (WebCore::CSSImageValue::clearCachedImage): * css/CSSImageValue.h: Canonical link: https://commits.webkit.org/87995@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@99415 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 3 changed files with 22 additions and 9 deletions.