Browse Source

Fix lint errors

Gary Wilber 8 years ago
parent
commit
11e1f6b56c
1 changed files with 5 additions and 4 deletions
  1. 5 4
      atom/browser/api/atom_api_web_contents.cc

+ 5 - 4
atom/browser/api/atom_api_web_contents.cc

@@ -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()));
     }
   }
 }