summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/ReplacedBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/ReplacedBox.h')
-rw-r--r--Userland/Libraries/LibWeb/Layout/ReplacedBox.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/ReplacedBox.h b/Userland/Libraries/LibWeb/Layout/ReplacedBox.h
index 4fd132ee96..a9ccdd5d5c 100644
--- a/Userland/Libraries/LibWeb/Layout/ReplacedBox.h
+++ b/Userland/Libraries/LibWeb/Layout/ReplacedBox.h
@@ -21,11 +21,11 @@ public:
virtual Optional<float> intrinsic_width() const final { return m_intrinsic_width; }
virtual Optional<float> intrinsic_height() const final { return m_intrinsic_height; }
- virtual Optional<float> intrinsic_ratio() const final { return m_intrinsic_ratio; }
+ virtual Optional<float> intrinsic_aspect_ratio() const final { return m_intrinsic_aspect_ratio; }
void set_intrinsic_width(float width) { m_intrinsic_width = width; }
void set_intrinsic_height(float height) { m_intrinsic_height = height; }
- void set_intrinsic_ratio(float ratio) { m_intrinsic_ratio = ratio; }
+ void set_intrinsic_aspect_ratio(float ratio) { m_intrinsic_aspect_ratio = ratio; }
virtual void prepare_for_replaced_layout() { }
@@ -37,7 +37,7 @@ protected:
private:
Optional<float> m_intrinsic_width;
Optional<float> m_intrinsic_height;
- Optional<float> m_intrinsic_ratio;
+ Optional<float> m_intrinsic_aspect_ratio;
};
}