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

Unified Diff: content/browser/browser_main_loop.cc

Issue 2399213003: Linux Aura: Fix shadows on frameless windows (Closed)
Patch Set: Remove always-true expression Created 4 years, 2 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: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index e275446d81c6b8100afd81919d4623049eeb0721..f9235bdbbb6f60c9e94f79e1e650633d3535192d 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -753,13 +753,10 @@ int BrowserMainLoop::PreCreateThreads() {
#if defined(USE_X11) && !defined(OS_CHROMEOS)
// PreCreateThreads is called before CreateStartupTasks which starts the gpu
// process.
- bool enable_transparent_visuals =
- !GpuDataManagerImpl::GetInstance()->IsDriverBugWorkaroundActive(
- gpu::DISABLE_TRANSPARENT_VISUALS);
+ bool enable_transparent_visuals = false;
// Prevent this flag to be turned off later since it is only used here.
- if (!enable_transparent_visuals &&
- !GpuDataManagerImpl::GetInstance()->IsCompleteGpuInfoAvailable()) {
+ if (!GpuDataManagerImpl::GetInstance()->IsCompleteGpuInfoAvailable()) {
base::CommandLine::ForCurrentProcess()->AppendSwitch(
"disable_transparent_visuals");
}
« 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