зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1415085 - Make CachedSurface::GetSurfaceKey return a reference instead of a copy. r=decoder
This commit is contained in:
Родитель
2ab91577de
Коммит
1068bf07ec
|
@ -168,7 +168,7 @@ public:
|
|||
bool IsDecoded() const { return !IsPlaceholder() && mProvider->IsFinished(); }
|
||||
|
||||
ImageKey GetImageKey() const { return mProvider->GetImageKey(); }
|
||||
SurfaceKey GetSurfaceKey() const { return mProvider->GetSurfaceKey(); }
|
||||
const SurfaceKey& GetSurfaceKey() const { return mProvider->GetSurfaceKey(); }
|
||||
nsExpirationState* GetExpirationState() { return &mExpirationState; }
|
||||
|
||||
CostEntry GetCostEntry()
|
||||
|
|
Загрузка…
Ссылка в новой задаче