Index: content/browser/download/download_item_impl.cc |
diff --git a/content/browser/download/download_item_impl.cc b/content/browser/download/download_item_impl.cc |
index 042934d69b2773850c9b81a3c04a1792c56cc669..fa1d288d6f516d3a677e210746d79420ce9d7fbc 100644 |
--- a/content/browser/download/download_item_impl.cc |
+++ b/content/browser/download/download_item_impl.cc |
@@ -589,9 +589,9 @@ DownloadItem::SafetyState DownloadItemImpl::GetSafetyState() const { |
} |
bool DownloadItemImpl::IsDangerous() const { |
+#ifdef OS_WIN |
// TODO(noelutz): At this point only the windows views UI supports |
// warnings based on dangerous content. |
-#ifdef OS_WIN |
return (danger_type_ == DOWNLOAD_DANGER_TYPE_DANGEROUS_FILE || |
danger_type_ == DOWNLOAD_DANGER_TYPE_DANGEROUS_URL || |
danger_type_ == DOWNLOAD_DANGER_TYPE_DANGEROUS_CONTENT || |