chore: enable check raw ptr fields (#38167)
This commit is contained in:
parent
141175c723
commit
3dbc0a365f
120 changed files with 298 additions and 185 deletions
|
@ -9,6 +9,7 @@
|
|||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "v8/include/v8.h"
|
||||
|
||||
namespace electron {
|
||||
|
@ -20,7 +21,7 @@ class KeyWeakMap {
|
|||
// Records the key and self, used by SetWeak.
|
||||
struct KeyObject {
|
||||
K key;
|
||||
KeyWeakMap* self;
|
||||
raw_ptr<KeyWeakMap> self;
|
||||
};
|
||||
|
||||
KeyWeakMap() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue