Index: content/browser/histogram_message_filter.cc |
diff --git a/content/browser/histogram_message_filter.cc b/content/browser/histogram_message_filter.cc |
index be6f85fcb57f3e1df36bed76d39f3e25107c3127..7522190414d8853363f9f046cca61d6e9f678856 100644 |
--- a/content/browser/histogram_message_filter.cc |
+++ b/content/browser/histogram_message_filter.cc |
@@ -52,15 +52,9 @@ void HistogramMessageFilter::OnGetBrowserHistogram( |
bool using_stats_collection_controller = |
CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kStatsCollectionController); |
- bool reduced_security = |
- CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kReduceSecurityForStatsCollectionTests); |
- |
- if (!using_stats_collection_controller || !reduced_security) { |
+ if (!using_stats_collection_controller) { |
LOG(ERROR) << "Attempt at reading browser histogram without specifying " |
- << "--" << switches::kStatsCollectionController << " and " |
- << "--" << switches::kReduceSecurityForStatsCollectionTests |
- << " switches."; |
+ << "--" << switches::kStatsCollectionController << " switch."; |
return; |
} |
base::HistogramBase* histogram = |