diff --git a/atom/browser/native_window_views.cc b/atom/browser/native_window_views.cc index 4b64367bdfdb..771caf583dec 100644 --- a/atom/browser/native_window_views.cc +++ b/atom/browser/native_window_views.cc @@ -696,7 +696,6 @@ void NativeWindowViews::Center() { } void NativeWindowViews::Invalidate() { - const gfx::Rect& bounds = GetBounds(); window_->SchedulePaintInRect(gfx::Rect(GetBounds().size())); }