Index: content/browser/download/download_state_info.cc |
diff --git a/content/browser/download/download_state_info.cc b/content/browser/download/download_state_info.cc |
index 8f2574f2048c917336db55a91e21b57d89041d26..e31b741bc51b4d7e21a091369f06ffa0648c4839 100644 |
--- a/content/browser/download/download_state_info.cc |
+++ b/content/browser/download/download_state_info.cc |
@@ -42,9 +42,9 @@ DownloadStateInfo::DownloadStateInfo( |
} |
bool DownloadStateInfo::IsDangerous() const { |
- // TODO(noelutz): At this point only the windows views UI supports |
- // warnings based on dangerous content. |
-#ifdef OS_WIN |
+ // TODO(noelutz): At this point only the windows views and Linux GTK UI |
+ // supports warnings based on dangerous content. |
+#if defined(OS_WIN) || defined(TOOLKIT_GTK) |
return (danger == DANGEROUS_FILE || |
danger == DANGEROUS_URL || |
danger == DANGEROUS_CONTENT); |