[Mac] Enable Content-Disposition: attachment sandbox
[WebKit-https.git] / Source / WebKit2 / WebProcess / WebPage / WebPage.cpp
index 8c4fd41..7fd398d 100644 (file)
@@ -546,7 +546,7 @@ WebPage::WebPage(uint64_t pageID, const WebPageCreationParameters& parameters)
     if (parameters.viewScaleFactor != 1)
         scaleView(parameters.viewScaleFactor);
 
     if (parameters.viewScaleFactor != 1)
         scaleView(parameters.viewScaleFactor);
 
-#if PLATFORM(IOS)
+#if PLATFORM(COCOA)
     m_page->settings().setContentDispositionAttachmentSandboxEnabled(true);
 #endif
 }
     m_page->settings().setContentDispositionAttachmentSandboxEnabled(true);
 #endif
 }