1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 21:57:35 +00:00

LibWeb: Use long long where it was replaced with long

This commit is contained in:
stelar7 2022-05-10 11:08:02 +02:00 committed by Linus Groh
parent 3413eb1416
commit 94bb5a779b
4 changed files with 48 additions and 48 deletions

View file

@ -35,8 +35,8 @@ public:
virtual ~ProgressEvent() override = default;
bool length_computable() const { return m_length_computable; }
u32 loaded() const { return m_loaded; }
u32 total() const { return m_total; }
u64 loaded() const { return m_loaded; }
u64 total() const { return m_total; }
protected:
ProgressEvent(FlyString const& event_name, ProgressEventInit const& event_init)
@ -48,8 +48,8 @@ protected:
}
bool m_length_computable { false };
u32 m_loaded { 0 };
u32 m_total { 0 };
u64 m_loaded { 0 };
u64 m_total { 0 };
};
}

View file

@ -4,8 +4,8 @@ interface ProgressEvent : Event {
constructor(DOMString type, optional ProgressEventInit eventInitDict = {});
readonly attribute boolean lengthComputable;
readonly attribute unsigned long loaded;
readonly attribute unsigned long total;
readonly attribute unsigned long long loaded;
readonly attribute unsigned long long total;
};
dictionary ProgressEventInit : EventInit {