20 lines
717 B
Diff
20 lines
717 B
Diff
|
diff --git a/ui/views/layout/layout_types.h b/ui/views/layout/layout_types.h
|
||
|
index 8f9dbf4..ba118b9 100644
|
||
|
--- a/ui/views/layout/layout_types.h
|
||
|
+++ b/ui/views/layout/layout_types.h
|
||
|
@@ -45,12 +45,12 @@ class VIEWS_EXPORT SizeBounds {
|
||
|
~SizeBounds() = default;
|
||
|
|
||
|
constexpr const base::Optional<int>& width() const { return width_; }
|
||
|
- constexpr void set_width(base::Optional<int> width) {
|
||
|
+ inline void set_width(base::Optional<int> width) {
|
||
|
width_ = std::move(width);
|
||
|
}
|
||
|
|
||
|
constexpr const base::Optional<int>& height() const { return height_; }
|
||
|
- constexpr void set_height(base::Optional<int> height) {
|
||
|
+ inline void set_height(base::Optional<int> height) {
|
||
|
height_ = std::move(height);
|
||
|
}
|
||
|
|