Apply raw_ptr rewrite to libcef (see #3239)

This commit is contained in:
Marshall Greenblatt
2024-05-11 11:48:38 -04:00
parent 2156c9fd5d
commit 0170f431a0
109 changed files with 290 additions and 185 deletions

View File

@ -7,6 +7,7 @@
#include <memory>
#include "base/i18n/rtl.h"
#include "base/memory/raw_ptr.h"
#include "cef/libcef/browser/browser_util.h"
#include "cef/libcef/browser/thread_util.h"
#include "cef/libcef/browser/views/browser_view_impl.h"
@ -93,11 +94,11 @@ class CefUnhandledKeyEventHandler : public ui::EventHandler {
private:
// Members are guaranteed to outlive this object.
CefWindowImpl* window_impl_;
views::Widget* widget_;
raw_ptr<CefWindowImpl> window_impl_;
raw_ptr<views::Widget> widget_;
// |window_| is the event target that is associated with this class.
aura::Window* window_;
raw_ptr<aura::Window> window_;
};
#endif // defined(USE_AURA)