From e1465ff21404f19ca9e2d84caed35ef3b93768bc Mon Sep 17 00:00:00 2001 From: liyuqian Date: Thu, 26 Jul 2018 00:14:43 -0700 Subject: [PATCH] Unify trailing spaces / new lines (flutter/engine#5871) --- .../src/flutter/fml/platform/win/paths_win.cc | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/engine/src/flutter/fml/platform/win/paths_win.cc b/engine/src/flutter/fml/platform/win/paths_win.cc index 505d40ae223..80b71d7a513 100644 --- a/engine/src/flutter/fml/platform/win/paths_win.cc +++ b/engine/src/flutter/fml/platform/win/paths_win.cc @@ -1,28 +1,28 @@ -// Copyright 2017 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "flutter/fml/paths.h" - -#include - -#include "lib/fxl/files/path.h" - -namespace fml { -namespace paths { - -std::pair GetExecutableDirectoryPath() { - HMODULE module = GetModuleHandle(NULL); - if (module == NULL) { - return {false, ""}; - } - char path[MAX_PATH]; - DWORD read_size = GetModuleFileNameA(module, path, MAX_PATH); - if (read_size == 0 || read_size == MAX_PATH) { - return {false, ""}; - } - return {true, files::GetDirectoryName(std::string{path, read_size})}; -} - -} // namespace paths -} // namespace fml +// Copyright 2017 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "flutter/fml/paths.h" + +#include + +#include "lib/fxl/files/path.h" + +namespace fml { +namespace paths { + +std::pair GetExecutableDirectoryPath() { + HMODULE module = GetModuleHandle(NULL); + if (module == NULL) { + return {false, ""}; + } + char path[MAX_PATH]; + DWORD read_size = GetModuleFileNameA(module, path, MAX_PATH); + if (read_size == 0 || read_size == MAX_PATH) { + return {false, ""}; + } + return {true, files::GetDirectoryName(std::string{path, read_size})}; +} + +} // namespace paths +} // namespace fml