mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-04 23:29:52 +00:00
AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.
This commit is contained in:
parent
77b9fa89dd
commit
90b1354688
Notes:
sideshowbarker
2024-07-19 13:32:18 +09:00
Author: https://github.com/awesomekling
Commit: 90b1354688
188 changed files with 562 additions and 562 deletions
|
@ -11,11 +11,11 @@
|
|||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
static CLockable<HashMap<String, RetainPtr<GraphicsBitmap>>>& thumbnail_cache()
|
||||
static CLockable<HashMap<String, RefPtr<GraphicsBitmap>>>& thumbnail_cache()
|
||||
{
|
||||
static CLockable<HashMap<String, RetainPtr<GraphicsBitmap>>>* s_map;
|
||||
static CLockable<HashMap<String, RefPtr<GraphicsBitmap>>>* s_map;
|
||||
if (!s_map)
|
||||
s_map = new CLockable<HashMap<String, RetainPtr<GraphicsBitmap>>>();
|
||||
s_map = new CLockable<HashMap<String, RefPtr<GraphicsBitmap>>>();
|
||||
return *s_map;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue