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:
@@ -7,6 +7,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "base/functional/callback_forward.h"
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "base/memory/weak_ptr.h"
|
||||
#include "cef/include/cef_client.h"
|
||||
#include "cef/include/views/cef_browser_view.h"
|
||||
@@ -138,8 +139,8 @@ class CefBrowserViewImpl
|
||||
|
||||
base::RepeatingClosure on_bounds_changed_;
|
||||
|
||||
CefWidget* cef_widget_ = nullptr;
|
||||
Profile* profile_ = nullptr;
|
||||
raw_ptr<CefWidget> cef_widget_ = nullptr;
|
||||
raw_ptr<Profile> profile_ = nullptr;
|
||||
|
||||
base::WeakPtrFactory<CefBrowserViewImpl> weak_ptr_factory_;
|
||||
|
||||
|
Reference in New Issue
Block a user