Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Unified Diff: third_party/WebKit/Source/core/frame/csp/CSPSource.h

Issue 1436103004: Oilpan: tidier ContentSecurityPolicy back refs from auxillary CSP objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add TODOs Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h ('k') | third_party/WebKit/Source/core/frame/csp/CSPSourceList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698