]> khamidou — GitHub mirrors - electron.git/commitdiff
Fix cpplint warnings.
authorCheng Zhao <zcbenz@gmail.com>
Fri, 18 Jul 2014 01:17:17 +0000 (09:17 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 18 Jul 2014 01:17:17 +0000 (09:17 +0800)
atom/browser/ui/views/menu_delegate.h
atom/common/chrome_version.h

index 9d984bfc0731058be9e03734d4d5c03a35afda2a..310d7da822fedd5ffca2abf72fe141d6329ac1f7 100644 (file)
@@ -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);
index f227c32b9ebc2eae114db6fa45686f24a69d787d..f6b1b8febed31777797505208ff9217aac2df594 100644 (file)
@@ -1,14 +1,14 @@
-// Copyright (c) 2014 GitHub, Inc. All rights reserved.\r
-// Use of this source code is governed by the MIT license that can be\r
-// found in the LICENSE file.\r
-\r
-// This file is generated by script/bootstrap.py, you should never modify it\r
-// by hand.\r
-\r
-#ifndef ATOM_COMMON_CHROME_VERSION_H_\r
-#define ATOM_COMMON_CHROME_VERSION_H_\r
-\r
-#define CHROME_VERSION_STRING "35.0.1916.153"\r
-#define CHROME_VERSION "v" CHROME_VERSION_STRING\r
-\r
-#endif  // ATOM_COMMON_CHROME_VERSION_H_\r
+// 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_