mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Apply raw_ptr rewrite to libcef (see #3239)
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user