зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1376296 part 2 - Switch to nsRefPtrHashtable since it's more appropriate for holding RefPtr values. r=froydnj
MozReview-Commit-ID: IkVx7XJG0ai
This commit is contained in:
Родитель
bc03580b86
Коммит
5293f63576
|
@ -15,6 +15,7 @@
|
|||
#include "mozilla/layers/TextureForwarder.h" // for TextureForwarder
|
||||
#include "mozilla/webrender/WebRenderTypes.h"
|
||||
#include "nsClassHashtable.h" // for nsClassHashtable
|
||||
#include "nsRefPtrHashtable.h"
|
||||
#include "nsCOMPtr.h" // for nsCOMPtr
|
||||
#include "nsHashKeys.h" // for nsUint64HashKey
|
||||
#include "nsISupportsImpl.h" // for NS_INLINE_DECL_REFCOUNTING
|
||||
|
@ -318,7 +319,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;
|
||||
|
||||
MessageLoop* mMessageLoop;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче