diff --git a/patches/common/chromium/.patches.yaml b/patches/common/chromium/.patches.yaml index 0a106bec0e73..f4a0a020260f 100644 --- a/patches/common/chromium/.patches.yaml +++ b/patches/common/chromium/.patches.yaml @@ -100,10 +100,6 @@ patches: author: null file: compositor_delegate.patch description: null -- - author: null - file: desktop_screen_win.patch - description: null - author: Cheng Zhao file: disable_hidden.patch diff --git a/patches/common/chromium/desktop_screen_win.patch b/patches/common/chromium/desktop_screen_win.patch deleted file mode 100644 index 62f6f4de17b0..000000000000 --- a/patches/common/chromium/desktop_screen_win.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 0dbac64c4877f7783726d3bc04f332a1491285b7 Mon Sep 17 00:00:00 2001 -From: Anonymous -Date: Thu, 20 Sep 2018 17:45:44 -0700 -Subject: desktop_screen_win.patch - - -diff --git a/ui/views/widget/desktop_aura/desktop_screen_win.cc b/ui/views/widget/desktop_aura/desktop_screen_win.cc -index f772f64d656e..7d13f9f81b6c 100644 ---- a/ui/views/widget/desktop_aura/desktop_screen_win.cc -+++ b/ui/views/widget/desktop_aura/desktop_screen_win.cc -@@ -32,6 +32,8 @@ display::Display DesktopScreenWin::GetDisplayMatching( - } - - HWND DesktopScreenWin::GetHWNDFromNativeView(gfx::NativeView window) const { -+ if (!window) -+ return NULL; - aura::WindowTreeHost* host = window->GetHost(); - return host ? host->GetAcceleratedWidget() : NULL; - } --- -2.17.0 -