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

Unified Diff: third_party/WebKit/Source/core/frame/csp/CSPSourceList.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
« no previous file with comments | « third_party/WebKit/Source/core/frame/csp/CSPSource.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « third_party/WebKit/Source/core/frame/csp/CSPSource.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698