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

Unified Diff: third_party/WebKit/Source/core/frame/csp/CSPDirective.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 | « no previous file | third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/csp/CSPDirective.h
diff --git a/third_party/WebKit/Source/core/frame/csp/CSPDirective.h b/third_party/WebKit/Source/core/frame/csp/CSPDirective.h
index 8bbecc5f3785a25c3651ffe22c622f11cdede9b7..b45dc9704b8dbef2dd019d0201a5c5a242d94c8d 100644
--- a/third_party/WebKit/Source/core/frame/csp/CSPDirective.h
+++ b/third_party/WebKit/Source/core/frame/csp/CSPDirective.h
@@ -5,6 +5,7 @@
#ifndef CSPDirective_h
#define CSPDirective_h
+#include "platform/heap/Handle.h"
#include "wtf/text/WTFString.h"
namespace blink {
@@ -30,7 +31,8 @@ protected:
private:
String m_name;
String m_text;
- ContentSecurityPolicy* m_policy;
+ // TODO(Oilpan): consider moving ContentSecurityPolicy auxilliary objects to the heap.
+ RawPtrWillBeUntracedMember<ContentSecurityPolicy> m_policy;
};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698