mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:08:13 +00:00
LibHTML: Fire the file:// load completion callback asynchronously
This makes it consistent with how http:// callbacks are fired. It would probably be fine to have file:// be synchronous, but at the same time it's nice to have consistency.
This commit is contained in:
parent
3be6d1aff0
commit
a1c8c754eb
2 changed files with 8 additions and 4 deletions
|
@ -2,8 +2,10 @@
|
|||
|
||||
#include <AK/Function.h>
|
||||
#include <AK/URL.h>
|
||||
#include <LibCore/CObject.h>
|
||||
|
||||
class ResourceLoader {
|
||||
class ResourceLoader : public CObject {
|
||||
C_OBJECT(ResourceLoader)
|
||||
public:
|
||||
static ResourceLoader& the();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue