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 <memory>
#include "base/memory/raw_ptr.h"
#include "cef/include/cef_app.h"
#include "cef/libcef/common/main_runner_delegate.h"
#include "cef/libcef/common/main_runner_handler.h"
@@ -48,8 +49,8 @@ class ChromeMainRunnerDelegate : public CefMainRunnerDelegate {
std::unique_ptr<MainThreadStackSamplingProfiler> sampling_profiler_;
std::unique_ptr<ScopedKeepAlive> keep_alive_;
CefMainRunnerHandler* const runner_;
CefSettings* const settings_;
const raw_ptr<CefMainRunnerHandler> runner_;
const raw_ptr<CefSettings> settings_;
CefRefPtr<CefApp> application_;
bool multi_threaded_message_loop_ = false;