Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc |
index 5fd509ff978512f41f6921e82acd13f3b0beeff2..27fde6434941a9e941e7712208cd21ed37a63327 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc |
@@ -180,7 +180,7 @@ void DataReductionProxyNetworkDelegate::OnBeforeSendProxyHeadersInternal( |
bool is_using_lofi_mode = |
lofi_decider->MaybeAddLoFiDirectiveToHeaders(*request, headers); |
- if ((request->load_flags() & net::LOAD_MAIN_FRAME) != 0) { |
+ if ((request->load_flags() & net::LOAD_MAIN_FRAME)) { |
// TODO(megjablon): Need to switch to per page. |
data_reduction_proxy_io_data_->SetLoFiModeActiveOnMainFrame( |
is_using_lofi_mode); |