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

Unified Diff: ui/ozone/platform/drm/host/drm_overlay_manager.cc

Issue 2122303003: Remove kOzoneTestSingleOverlaySupport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation. Created 4 years, 5 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 | « ui/ozone/platform/drm/host/drm_overlay_manager.h ('k') | ui/ozone/public/ozone_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/host/drm_overlay_manager.cc
diff --git a/ui/ozone/platform/drm/host/drm_overlay_manager.cc b/ui/ozone/platform/drm/host/drm_overlay_manager.cc
index 7255496b809767b50d8fd368bd6a3b13880d6669..282010d07ede4b38773c4ea1a9336d573daadcc5 100644
--- a/ui/ozone/platform/drm/host/drm_overlay_manager.cc
+++ b/ui/ozone/platform/drm/host/drm_overlay_manager.cc
@@ -29,8 +29,6 @@ const size_t kMaxCacheSize = 200;
DrmOverlayManager::DrmOverlayManager(GpuThreadAdapter* proxy,
DrmWindowHostManager* window_manager)
: proxy_(proxy), window_manager_(window_manager), cache_(kMaxCacheSize) {
- is_supported_ = base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kOzoneTestSingleOverlaySupport);
proxy_->RegisterHandlerForDrmOverlayManager(this);
}
@@ -40,8 +38,6 @@ DrmOverlayManager::~DrmOverlayManager() {
std::unique_ptr<OverlayCandidatesOzone>
DrmOverlayManager::CreateOverlayCandidates(gfx::AcceleratedWidget w) {
- if (!is_supported_)
- return nullptr;
return base::WrapUnique(new DrmOverlayCandidatesHost(this, w));
}
« no previous file with comments | « ui/ozone/platform/drm/host/drm_overlay_manager.h ('k') | ui/ozone/public/ozone_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698