chore: enable check raw ptr fields (#38167)
This commit is contained in:
parent
141175c723
commit
3dbc0a365f
120 changed files with 298 additions and 185 deletions
|
@ -12,6 +12,7 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "ui/views/widget/widget_observer.h"
|
||||
|
||||
#if defined(USE_OZONE)
|
||||
|
@ -252,7 +253,7 @@ class NativeWindowViews : public NativeWindow,
|
|||
std::unique_ptr<RootView> root_view_;
|
||||
|
||||
// The view should be focused by default.
|
||||
views::View* focused_view_ = nullptr;
|
||||
raw_ptr<views::View> focused_view_ = nullptr;
|
||||
|
||||
// The "resizable" flag on Linux is implemented by setting size constraints,
|
||||
// we need to make sure size constraints are restored when window becomes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue