libcef: Format with clang-tidy (see #3632)

This commit is contained in:
Marshall Greenblatt
2024-01-20 17:48:57 -05:00
parent 4ea1b6f293
commit a02d2ab3e6
158 changed files with 639 additions and 686 deletions

View File

@@ -49,7 +49,7 @@ class CefLayoutImpl : public CefLayoutAdapter, public CefLayoutClass {
protected:
// Create a new implementation object.
// Always call Initialize() after creation.
CefLayoutImpl() : layout_ref_(nullptr), owner_view_(nullptr) {}
CefLayoutImpl() = default;
// Initialize this object and assign ownership to |owner_view|.
void Initialize(views::View* owner_view) {
@@ -67,11 +67,11 @@ class CefLayoutImpl : public CefLayoutAdapter, public CefLayoutClass {
private:
// Unowned reference to the views::LayoutManager wrapped by this object. Will
// be nullptr after the views::LayoutManager is destroyed.
ViewsLayoutClass* layout_ref_;
ViewsLayoutClass* layout_ref_ = nullptr;
// Unowned reference to the views::View that owns this object. Will be nullptr
// after the views::LayoutManager is destroyed.
views::View* owner_view_;
views::View* owner_view_ = nullptr;
};
#endif // CEF_LIBCEF_BROWSER_VIEWS_LAYOUT_IMPL_H_