Index: third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h |
diff --git a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h |
index 9c4eceb0e66c83f029ea48a7902a5d989a38eecb..88554042bc0b51ab855fd08370c85dbe6974882a 100644 |
--- a/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h |
+++ b/third_party/WebKit/Source/core/frame/csp/ContentSecurityPolicy.h |
@@ -39,11 +39,11 @@ |
#include "platform/weborigin/ReferrerPolicy.h" |
#include "public/platform/WebInsecureRequestPolicy.h" |
#include "wtf/HashSet.h" |
+#include "wtf/PassOwnPtr.h" |
#include "wtf/Vector.h" |
#include "wtf/text/StringHash.h" |
#include "wtf/text/TextPosition.h" |
#include "wtf/text/WTFString.h" |
-#include <memory> |
#include <utility> |
namespace WTF { |
@@ -148,7 +148,7 @@ public: |
void addPolicyFromHeaderValue(const String&, ContentSecurityPolicyHeaderType, ContentSecurityPolicyHeaderSource); |
void reportAccumulatedHeaders(FrameLoaderClient*) const; |
- std::unique_ptr<Vector<CSPHeaderAndType>> headers() const; |
+ PassOwnPtr<Vector<CSPHeaderAndType>> headers() const; |
bool allowJavaScriptURLs(const String& contextURL, const WTF::OrdinalNumber& contextLine, ReportingStatus = SendReport) const; |
bool allowInlineEventHandler(const String& source, const String& contextURL, const WTF::OrdinalNumber& contextLine, ReportingStatus = SendReport) const; |