mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 01:51:03 +09:00
LibWeb: Use WebIDL integer typedefs in ProgressEvent
This commit is contained in:
parent
3e756da564
commit
b6292a2d7d
Notes:
sideshowbarker
2024-07-17 01:11:48 +09:00
Author: https://github.com/shannonbooth
Commit: b6292a2d7d
Pull-request: https://github.com/SerenityOS/serenity/pull/23089
Reviewed-by: https://github.com/LucasChollet
Reviewed-by: https://github.com/awesomekling
1 changed files with 4 additions and 4 deletions
|
@ -29,8 +29,8 @@ public:
|
|||
virtual ~ProgressEvent() override;
|
||||
|
||||
bool length_computable() const { return m_length_computable; }
|
||||
u64 loaded() const { return m_loaded; }
|
||||
u64 total() const { return m_total; }
|
||||
WebIDL::UnsignedLongLong loaded() const { return m_loaded; }
|
||||
WebIDL::UnsignedLongLong total() const { return m_total; }
|
||||
|
||||
private:
|
||||
ProgressEvent(JS::Realm&, FlyString const& event_name, ProgressEventInit const& event_init);
|
||||
|
@ -38,8 +38,8 @@ private:
|
|||
virtual void initialize(JS::Realm&) override;
|
||||
|
||||
bool m_length_computable { false };
|
||||
u64 m_loaded { 0 };
|
||||
u64 m_total { 0 };
|
||||
WebIDL::UnsignedLongLong m_loaded { 0 };
|
||||
WebIDL::UnsignedLongLong m_total { 0 };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue