diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-02-04 17:20:24 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-02-12 08:15:25 +0000 |
commit | 8fa0776f1f79e91fc9c0b9c1ba11a0a29c05196b (patch) | |
tree | 788d8d7549712682703a0310ca4a0f0860d4802b /chromium/ui/views/layout/flex_layout_types.cc | |
parent | 606d85f2a5386472314d39923da28c70c60dc8e7 (diff) | |
download | qtwebengine-chromium-8fa0776f1f79e91fc9c0b9c1ba11a0a29c05196b.tar.gz |
BASELINE: Update Chromium to 98.0.4758.90
Change-Id: Ib7c41539bf8a8e0376bd639f27d68294de90f3c8
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/ui/views/layout/flex_layout_types.cc')
-rw-r--r-- | chromium/ui/views/layout/flex_layout_types.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/chromium/ui/views/layout/flex_layout_types.cc b/chromium/ui/views/layout/flex_layout_types.cc index 6552bba9ffb..7c4bd3f8413 100644 --- a/chromium/ui/views/layout/flex_layout_types.cc +++ b/chromium/ui/views/layout/flex_layout_types.cc @@ -9,6 +9,7 @@ #include <utility> #include "base/bind.h" +#include "base/memory/raw_ptr.h" #include "base/numerics/safe_conversions.h" #include "base/strings/stringprintf.h" #include "ui/gfx/geometry/size.h" @@ -37,7 +38,7 @@ class LazyDimension { int get() const; private: - const LazySize* const size_; + const raw_ptr<const LazySize> size_; LayoutOrientation dimension_; }; @@ -69,7 +70,7 @@ class LazySize { } private: - const View* const view_; + const raw_ptr<const View> view_; SizeFunc size_func_; mutable absl::optional<gfx::Size> size_; }; @@ -369,6 +370,9 @@ void Span::Align(const Span& container, SetSpan(container.start() + margins.leading(), std::max(0, container.length() - margins.size())); break; + case LayoutAlignment::kBaseline: + NOTIMPLEMENTED(); + break; } } |