🎨 Go back to single line declaration

This commit is contained in:
Kevin Sawicki 2016-08-22 16:26:31 -07:00
parent 4fc6cf48b0
commit 0485e9eb36

View file

@ -416,9 +416,7 @@ void Session::SetDownloadPath(const base::FilePath& path) {
void Session::EnableNetworkEmulation(const mate::Dictionary& options) {
std::unique_ptr<brightray::DevToolsNetworkConditions> conditions;
bool offline = false;
double latency = 0.0;
double download_throughput = 0.0;
double upload_throughput = 0.0;
double latency = 0.0, download_throughput = 0.0, upload_throughput = 0.0;
if (options.Get("offline", &offline) && offline) {
conditions.reset(new brightray::DevToolsNetworkConditions(offline));
} else {