From: Cheng Zhao Date: Fri, 18 Jul 2014 01:17:17 +0000 (+0800) Subject: Fix cpplint warnings. X-Git-Tag: v0.14.0~1^2~11 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=9c9e0d92f4578e132adaecefe81a7431b8f08648;p=electron.git Fix cpplint warnings. --- 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_