Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Unified Diff: ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc

Issue 2226783003: **FOR DEBATING BUG #635709** Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
index d02a06c0be5b8d39b66ab5248d7d37d6047c079b..9db5ebf0fb319b7e2a22c605ef7e220d43842fde 100644
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
@@ -969,7 +969,7 @@ HWND DesktopWindowTreeHostWin::GetHWND() const {
}
void DesktopWindowTreeHostWin::SetWindowTransparency() {
- bool transparent = ShouldUseNativeFrame() && !IsFullscreen();
+ bool transparent = !IsFullscreen();
compositor()->SetHostHasTransparentBackground(transparent);
window()->SetTransparent(transparent);
content_window_->SetTransparent(transparent);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698