Index: chrome/browser/devtools/devtools_network_conditions.cc |
diff --git a/chrome/browser/devtools/devtools_network_conditions.cc b/chrome/browser/devtools/devtools_network_conditions.cc |
index 534e7876d82723747e956e1fe0349af2a6f250a3..e80172142d8eea43c40d11fa4e5841fba79ec596 100644 |
--- a/chrome/browser/devtools/devtools_network_conditions.cc |
+++ b/chrome/browser/devtools/devtools_network_conditions.cc |
@@ -35,6 +35,6 @@ DevToolsNetworkConditions::~DevToolsNetworkConditions() { |
} |
bool DevToolsNetworkConditions::IsThrottling() const { |
- return (latency_ != 0) || (download_throughput_ != 0.0) || |
- (upload_throughput_ != 0); |
+ return !offline_ && ((latency_ != 0) || (download_throughput_ != 0.0) || |
dgozman
2015/03/27 11:42:35
Don't you want to remove offline parameter entirel
|
+ (upload_throughput_ != 0)); |
} |