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/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/shared_memory_mapping.h"
#include "components/viz/host/host_display_client.h"
#include "ui/gfx/native_widget_types.h"
@@ -41,7 +42,7 @@ class CefHostDisplayClientOSR : public viz::HostDisplayClient {
void DidCompleteSwapWithNewSize(const gfx::Size& size) override;
#endif
CefRenderWidgetHostViewOSR* const view_;
const raw_ptr<CefRenderWidgetHostViewOSR> view_;
std::unique_ptr<CefLayeredWindowUpdaterOSR> layered_window_updater_;
bool active_ = false;
};