mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Bug 1376297 part 2 - Switch to nsRefPtrHashtable since it's more appropriate for holding RefPtr values. r=froydnj
MozReview-Commit-ID: 5hxCuDpITcC
This commit is contained in:
parent
1bbdb5f4c6
commit
c49a96b7fd
@ -21,6 +21,7 @@
|
||||
#include "nsDebug.h" // for NS_RUNTIMEABORT
|
||||
#include "nsIObserver.h"
|
||||
#include "nsRegion.h" // for nsIntRegion
|
||||
#include "nsRefPtrHashtable.h"
|
||||
#include "mozilla/gfx/Rect.h"
|
||||
#include "mozilla/ReentrantMonitor.h" // for ReentrantMonitor, etc
|
||||
|
||||
@ -392,7 +393,7 @@ private:
|
||||
* Hold TextureClients refs until end of their usages on host side.
|
||||
* It defer calling of TextureClient recycle callback.
|
||||
*/
|
||||
nsDataHashtable<nsUint64HashKey, RefPtr<TextureClient> > mTexturesWaitingRecycled;
|
||||
nsRefPtrHashtable<nsUint64HashKey, TextureClient> mTexturesWaitingRecycled;
|
||||
|
||||
/**
|
||||
* Mapping from async compositable IDs to image containers.
|
||||
|
Loading…
Reference in New Issue
Block a user