chore: remove unused use_transparent_window.patch (#15534)

Unneeded since 6f2f761df3 (diff-0bbbec38254ebb1146b15c15277c6aa1)
This commit is contained in:
Jeremy Apthorp 2018-11-05 13:19:21 -08:00 committed by GitHub
parent c60745b8a3
commit 77f69cbe08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 61 deletions

View file

@ -1229,14 +1229,12 @@ void NativeWindowMac::SetVibrancy(const std::string& type) {
[vibrant_view removeFromSuperview];
[window_ setVibrantView:nil];
ui::GpuSwitchingManager::SetTransparent(transparent());
return;
}
background_color_before_vibrancy_.reset([[window_ backgroundColor] retain]);
transparency_before_vibrancy_ = [window_ titlebarAppearsTransparent];
ui::GpuSwitchingManager::SetTransparent(true);
if (title_bar_style_ != NORMAL) {
[window_ setTitlebarAppearsTransparent:YES];