mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 00:05:36 +00:00
Bug 1646263 - Use a proper name for NS_NewRunnableFunction in APZSampler. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D79943
This commit is contained in:
parent
ca5e547627
commit
2259081765
@ -51,7 +51,7 @@ void APZSampler::SetWebRenderWindowId(const wr::WindowId& aWindowId) {
|
||||
if (!sWindowIdMap) {
|
||||
sWindowIdMap = new std::unordered_map<uint64_t, RefPtr<APZSampler>>();
|
||||
NS_DispatchToMainThread(NS_NewRunnableFunction(
|
||||
"APZUpdater::ClearOnShutdown", [] { ClearOnShutdown(&sWindowIdMap); }));
|
||||
"APZSampler::ClearOnShutdown", [] { ClearOnShutdown(&sWindowIdMap); }));
|
||||
}
|
||||
(*sWindowIdMap)[wr::AsUint64(aWindowId)] = this;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user