]> khamidou — GitHub mirrors - electron.git/commitdiff
Fix cpplint errors.
authorCharlie Hess <charlie@slack-corp.com>
Thu, 26 Feb 2015 05:57:25 +0000 (21:57 -0800)
committerCharlie Hess <charlie@slack-corp.com>
Thu, 26 Feb 2015 05:57:25 +0000 (21:57 -0800)
atom/browser/browser.cc
atom/browser/browser_observer.h

index 02a5a4697c0c4ed6ce8550330ebb9aa74cd36543..123cfc4f98449b101f4fb3677442070141cef8e7 100644 (file)
@@ -118,7 +118,9 @@ void Browser::NotifyAndShutdown() {
 
 bool Browser::HandleBeforeQuit() {
   bool prevent_default = false;
-  FOR_EACH_OBSERVER(BrowserObserver, observers_, OnBeforeQuit(&prevent_default));
+  FOR_EACH_OBSERVER(BrowserObserver,
+                    observers_,
+                    OnBeforeQuit(&prevent_default));
 
   return !prevent_default;
 }
index 7dbd0039791df63bdd148700350ae829feab7ec7..4f9f436712d4bf2663a9933349d2ea2f0eb27530 100644 (file)
@@ -13,7 +13,7 @@ class BrowserObserver {
  public:
   // The browser is about to close all windows.
   virtual void OnBeforeQuit(bool* prevent_default) {}
-  
+
   // The browser has closed all windows and will quit.
   virtual void OnWillQuit(bool* prevent_default) {}