Fix lint errors
authorGary Wilber <Spacetech326@gmail.com>
Wed, 8 Feb 2017 08:05:16 +0000 (00:05 -0800)
committerGary Wilber <Spacetech326@gmail.com>
Wed, 8 Feb 2017 08:05:16 +0000 (00:05 -0800)
atom/browser/api/atom_api_web_contents.cc

index a5384f8..5ae6186 100644 (file)
@@ -1494,13 +1494,14 @@ void WebContents::Invalidate() {
       web_contents()->GetRenderWidgetHostView());
     if (osr_rwhv)
       osr_rwhv->Invalidate();
-  }
-  else {
+  } else {
     const auto ownerWindow = owner_window();
-    const auto nativeWindow = ownerWindow ? ownerWindow->GetNativeWindow() : nullptr;
+    const auto nativeWindow = ownerWindow ? ownerWindow->GetNativeWindow() :
+                                            nullptr;
     if (nativeWindow) {
       const gfx::Rect& bounds = nativeWindow->bounds();
-      nativeWindow->SchedulePaintInRect(gfx::Rect(0, 0, bounds.width(), bounds.height()));
+      nativeWindow->SchedulePaintInRect(
+        gfx::Rect(0, 0, bounds.width(), bounds.height()));
     }
   }
 }