Index: third_party/WebKit/Source/core/frame/csp/CSPSource.h |
diff --git a/third_party/WebKit/Source/core/frame/csp/CSPSource.h b/third_party/WebKit/Source/core/frame/csp/CSPSource.h |
index 3b7064e555b0b0f3b88bb848fcdfce05d2a1acb7..053c71e0a0f83a88dfc914992d9834b9f2b03fcf 100644 |
--- a/third_party/WebKit/Source/core/frame/csp/CSPSource.h |
+++ b/third_party/WebKit/Source/core/frame/csp/CSPSource.h |
@@ -7,6 +7,7 @@ |
#include "core/CoreExport.h" |
#include "core/frame/csp/ContentSecurityPolicy.h" |
+#include "platform/heap/Handle.h" |
#include "wtf/Allocator.h" |
#include "wtf/text/WTFString.h" |
@@ -33,7 +34,8 @@ private: |
bool portMatches(const KURL&) const; |
bool isSchemeOnly() const; |
- ContentSecurityPolicy* m_policy; |
+ // TODO(Oilpan): consider moving ContentSecurityPolicy auxilliary objects to the heap. |
+ RawPtrWillBeUntracedMember<ContentSecurityPolicy> m_policy; |
String m_scheme; |
String m_host; |
int m_port; |