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:
@ -10,6 +10,7 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "base/memory/weak_ptr.h"
|
||||
#include "cef/include/cef_jsdialog_handler.h"
|
||||
#include "cef/libcef/browser/javascript_dialog_runner.h"
|
||||
@ -60,7 +61,7 @@ class CefJavaScriptDialogManager : public content::JavaScriptDialogManager {
|
||||
bool CanUseChromeDialogs() const;
|
||||
|
||||
// CefBrowserHostBase pointer is guaranteed to outlive this object.
|
||||
CefBrowserHostBase* const browser_;
|
||||
const raw_ptr<CefBrowserHostBase> browser_;
|
||||
|
||||
CefRefPtr<CefJSDialogHandler> handler_;
|
||||
|
||||
|
Reference in New Issue
Block a user