From 0485e9eb36cb093d79270330642f8fb8c952aead Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 22 Aug 2016 16:26:31 -0700 Subject: [PATCH] :art: Go back to single line declaration --- atom/browser/api/atom_api_session.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/atom/browser/api/atom_api_session.cc b/atom/browser/api/atom_api_session.cc index bf950c4bb20a..dd98db843c40 100644 --- a/atom/browser/api/atom_api_session.cc +++ b/atom/browser/api/atom_api_session.cc @@ -416,9 +416,7 @@ void Session::SetDownloadPath(const base::FilePath& path) { void Session::EnableNetworkEmulation(const mate::Dictionary& options) { std::unique_ptr 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 {