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

@ -8,6 +8,7 @@
#include <map>
#include "base/memory/raw_ptr.h"
#include "cef/include/views/cef_window.h"
#include "cef/include/views/cef_window_delegate.h"
#include "cef/libcef/browser/menu_model_impl.h"
@ -152,7 +153,7 @@ class CefWindowImpl
// Initialize the Widget.
void CreateWidget(gfx::AcceleratedWidget parent_widget);
views::Widget* widget_ = nullptr;
raw_ptr<views::Widget> widget_ = nullptr;
// True if the window has been initialized.
bool initialized_ = false;