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

@ -15,6 +15,7 @@
#include "base/lazy_instance.h"
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/ref_counted_memory.h"
#include "base/path_service.h"
#include "base/strings/string_util.h"
@ -504,7 +505,7 @@ class CefURLDataSource : public content::URLDataSource {
private:
const std::string host_;
const ChromeHostId host_id_;
Profile* const profile_;
const raw_ptr<Profile> profile_;
std::string mime_type_;
scoped_refptr<base::RefCountedString> output_;