Skip to content

Commit

Permalink
chore: remove unused use_transparent_window.patch (electron#15534)
Browse files Browse the repository at this point in the history
  • Loading branch information
nornagon authored Nov 5, 2018
1 parent c60745b commit 77f69cb
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 61 deletions.
4 changes: 0 additions & 4 deletions atom/browser/api/atom_api_browser_window.cc
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ BrowserWindow::BrowserWindow(v8::Isolate* isolate,
mate::Dictionary(isolate, web_contents->GetWrapper())
.Set("browserWindowOptions", options);

// Tell the content module to initialize renderer widget with transparent
// mode.
ui::GpuSwitchingManager::SetTransparent(window()->transparent());

// Associate with BrowserWindow.
web_contents->SetOwnerWindow(window());

Expand Down
2 changes: 0 additions & 2 deletions atom/browser/native_window_mac.mm
Original file line number Diff line number Diff line change
Expand Up @@ -1229,14 +1229,12 @@ void ViewDidMoveToSuperview(NSView* self, SEL _cmd) {

[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];
Expand Down
1 change: 0 additions & 1 deletion patches/common/chromium/.patches
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ render_widget_host_view_mac.patch
scoped_clipboard_writer.patch
stream_resource_handler.patch
thread_capabilities.patch
use_transparent_window.patch
web_contents.patch
webgl_context_attributes.patch
webview_cross_drag.patch
Expand Down
54 changes: 0 additions & 54 deletions patches/common/chromium/use_transparent_window.patch

This file was deleted.

0 comments on commit 77f69cb

Please sign in to comment.