Add initial support for 'Cross-Origin-Options' HTTP response header
[WebKit-https.git] / Source / WebCore / page / AbstractDOMWindow.cpp
index ba74519..582668f 100644 (file)
@@ -37,8 +37,9 @@ HashMap<GlobalWindowIdentifier, AbstractDOMWindow*>& AbstractDOMWindow::allWindo
     return map;
 }
 
-AbstractDOMWindow::AbstractDOMWindow(GlobalWindowIdentifier&& identifier)
+AbstractDOMWindow::AbstractDOMWindow(GlobalWindowIdentifier&& identifier, CrossOriginOptions crossOriginOptions)
     : m_identifier(WTFMove(identifier))
+    , m_crossOriginOptions(crossOriginOptions)
 {
     ASSERT(!allWindows().contains(identifier));
     allWindows().add(identifier, this);