From b6292a2d7d61f9a3c12b0fac2f2c992eb327060f Mon Sep 17 00:00:00 2001 From: Shannon Booth Date: Tue, 6 Feb 2024 17:04:12 +1300 Subject: [PATCH] LibWeb: Use WebIDL integer typedefs in ProgressEvent --- Userland/Libraries/LibWeb/XHR/ProgressEvent.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Userland/Libraries/LibWeb/XHR/ProgressEvent.h b/Userland/Libraries/LibWeb/XHR/ProgressEvent.h index c789b2f795..b61a3276ca 100644 --- a/Userland/Libraries/LibWeb/XHR/ProgressEvent.h +++ b/Userland/Libraries/LibWeb/XHR/ProgressEvent.h @@ -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 }; }; }