diff --git a/atom/browser/ui/win/atom_desktop_window_tree_host_win.cc b/atom/browser/ui/win/atom_desktop_window_tree_host_win.cc index 84a6d9aa3e50..3da0241a27a9 100644 --- a/atom/browser/ui/win/atom_desktop_window_tree_host_win.cc +++ b/atom/browser/ui/win/atom_desktop_window_tree_host_win.cc @@ -25,4 +25,11 @@ bool AtomDesktopWindowTreeHostWin::PreHandleMSG( return delegate_->PreHandleMSG(message, w_param, l_param, result); } +bool AtomDesktopWindowTreeHostWin::HasNativeFrame() const { + // Since we never use chromium's titlebar implementation, we can just say + // that we use a native titlebar. This will disable the repaint locking when + // DWM composition is disabled. + return true; +} + } // namespace atom diff --git a/atom/browser/ui/win/atom_desktop_window_tree_host_win.h b/atom/browser/ui/win/atom_desktop_window_tree_host_win.h index 47e4cb6aed2a..b0164f2ab6ca 100644 --- a/atom/browser/ui/win/atom_desktop_window_tree_host_win.h +++ b/atom/browser/ui/win/atom_desktop_window_tree_host_win.h @@ -27,6 +27,7 @@ class AtomDesktopWindowTreeHostWin : public views::DesktopWindowTreeHostWin { protected: bool PreHandleMSG( UINT message, WPARAM w_param, LPARAM l_param, LRESULT* result) override; + bool HasNativeFrame() const override; private: MessageHandlerDelegate* delegate_; // weak ref diff --git a/vendor/libchromiumcontent b/vendor/libchromiumcontent index 0db373051269..76a718409b7b 160000 --- a/vendor/libchromiumcontent +++ b/vendor/libchromiumcontent @@ -1 +1 @@ -Subproject commit 0db373051269a57127bac86e4857dfc40feebca8 +Subproject commit 76a718409b7b859c6b708492e89aab0389fe447f