From 9c9e0d92f4578e132adaecefe81a7431b8f08648 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 18 Jul 2014 09:17:17 +0800 Subject: [PATCH] Fix cpplint warnings. --- atom/browser/ui/views/menu_delegate.h | 2 +- atom/common/chrome_version.h | 28 +++++++++++++-------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/atom/browser/ui/views/menu_delegate.h b/atom/browser/ui/views/menu_delegate.h index 9d984bfc..310d7da8 100644 --- a/atom/browser/ui/views/menu_delegate.h +++ b/atom/browser/ui/views/menu_delegate.h @@ -24,7 +24,7 @@ class MenuBar; class MenuDelegate : public views::MenuDelegate { public: - MenuDelegate(MenuBar* menu_bar); + explicit MenuDelegate(MenuBar* menu_bar); virtual ~MenuDelegate(); void RunMenu(ui::MenuModel* model, views::MenuButton* button); diff --git a/atom/common/chrome_version.h b/atom/common/chrome_version.h index f227c32b..f6b1b8fe 100644 --- a/atom/common/chrome_version.h +++ b/atom/common/chrome_version.h @@ -1,14 +1,14 @@ -// Copyright (c) 2014 GitHub, Inc. All rights reserved. -// Use of this source code is governed by the MIT license that can be -// found in the LICENSE file. - -// This file is generated by script/bootstrap.py, you should never modify it -// by hand. - -#ifndef ATOM_COMMON_CHROME_VERSION_H_ -#define ATOM_COMMON_CHROME_VERSION_H_ - -#define CHROME_VERSION_STRING "35.0.1916.153" -#define CHROME_VERSION "v" CHROME_VERSION_STRING - -#endif // ATOM_COMMON_CHROME_VERSION_H_ +// Copyright (c) 2014 GitHub, Inc. All rights reserved. +// Use of this source code is governed by the MIT license that can be +// found in the LICENSE file. + +// This file is generated by script/bootstrap.py, you should never modify it +// by hand. + +#ifndef ATOM_COMMON_CHROME_VERSION_H_ +#define ATOM_COMMON_CHROME_VERSION_H_ + +#define CHROME_VERSION_STRING "35.0.1916.153" +#define CHROME_VERSION "v" CHROME_VERSION_STRING + +#endif // ATOM_COMMON_CHROME_VERSION_H_ -- 2.43.0