Index: third_party/WebKit/Source/core/frame/csp/CSPSourceList.h |
diff --git a/third_party/WebKit/Source/core/frame/csp/CSPSourceList.h b/third_party/WebKit/Source/core/frame/csp/CSPSourceList.h |
index 2d9263212c67107c15d59904b4334ef029cfa58d..76b89b921b4f519d10e1a2d7b7725c29fbc53557 100644 |
--- a/third_party/WebKit/Source/core/frame/csp/CSPSourceList.h |
+++ b/third_party/WebKit/Source/core/frame/csp/CSPSourceList.h |
@@ -8,6 +8,7 @@ |
#include "core/CoreExport.h" |
#include "core/frame/csp/CSPSource.h" |
#include "platform/Crypto.h" |
+#include "platform/heap/Handle.h" |
#include "platform/network/ContentSecurityPolicyParsers.h" |
#include "wtf/HashSet.h" |
#include "wtf/text/WTFString.h" |
@@ -52,7 +53,8 @@ private: |
bool hasSourceMatchInList(const KURL&, ContentSecurityPolicy::RedirectStatus) const; |
- ContentSecurityPolicy* m_policy; |
+ // TODO(Oilpan): consider moving ContentSecurityPolicy auxilliary objects to the heap. |
+ RawPtrWillBeUntracedMember<ContentSecurityPolicy> m_policy; |
Vector<CSPSource> m_list; |
String m_directiveName; |
bool m_allowSelf; |