diff options
Diffstat (limited to 'image')
-rw-r--r-- | image/SurfaceCache.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/image/SurfaceCache.cpp b/image/SurfaceCache.cpp index 856ba162dc..a244281a6f 100644 --- a/image/SurfaceCache.cpp +++ b/image/SurfaceCache.cpp @@ -1191,15 +1191,15 @@ SurfaceCache::MaximumCapacity() void SurfaceCache::ReleaseImageOnMainThread( already_AddRefed<image::Image> aImage, bool aAlwaysProxy) { if (NS_IsMainThread() && !aAlwaysProxy) { - RefPtr<image::Image> image = std::move(aImage); + RefPtr<image::Image> image = Move(aImage); return; } StaticMutexAutoLock lock(sInstanceMutex); if (sInstance) { - sInstance->ReleaseImageOnMainThread(std::move(aImage), lock); + sInstance->ReleaseImageOnMainThread(Move(aImage), lock); } else { - NS_ReleaseOnMainThread(std::move(aImage), /* aAlwaysProxy */ true); + NS_ReleaseOnMainThread(Move(aImage), /* aAlwaysProxy */ true); } } |