mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
libcef: Format with clang-tidy (see #3632)
This commit is contained in:
@@ -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_
|
||||
|
Reference in New Issue
Block a user