Index: third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
index 3b8e896d6faae3b6c4a9425afaef82cf731e96e5..11ddb02e4b670a6d862735bd941716672582b330 100644 |
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp |
@@ -501,6 +501,7 @@ void LocalDOMWindow::reset() |
m_media = nullptr; |
m_customElements = nullptr; |
m_applicationCache = nullptr; |
+ m_requiredCSP = nullAtom; |
} |
void LocalDOMWindow::sendOrientationChangeEvent() |
@@ -1028,6 +1029,16 @@ void LocalDOMWindow::setDefaultStatus(const String& string) |
host->chromeClient().setStatusbarText(m_defaultStatus); |
} |
+AtomicString LocalDOMWindow::requiredCSP() const |
+{ |
+ return m_requiredCSP; |
+} |
+ |
+void LocalDOMWindow::setRequiredCSP(const AtomicString& requiredCSP) |
+{ |
+ m_requiredCSP = requiredCSP; |
+} |
+ |
Document* LocalDOMWindow::document() const |
{ |
return m_document.get(); |