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

Unified Diff: ui/ozone/platform/dri/ozone_platform_gbm.cc

Issue 758853005: Remove Initialize/Shutdown from DriSurfaceFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GN Created 6 years 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/dri/ozone_platform_dri.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/dri/ozone_platform_gbm.cc
diff --git a/ui/ozone/platform/dri/ozone_platform_gbm.cc b/ui/ozone/platform/dri/ozone_platform_gbm.cc
index 2af1923db2eb8b7aceeff6cf8be158618fd19cf8..afd2ba6cd165e4b6528837514b76a873634b3588 100644
--- a/ui/ozone/platform/dri/ozone_platform_gbm.cc
+++ b/ui/ozone/platform/dri/ozone_platform_gbm.cc
@@ -149,9 +149,6 @@ class OzonePlatformGbm : public OzonePlatform {
gpu_platform_support_.reset(
new DriGpuPlatformSupport(dri_.get(), window_delegate_manager_.get(),
screen_manager_.get(), ndd.Pass()));
- if (surface_factory_ozone_->InitializeHardware() !=
- DriSurfaceFactory::INITIALIZED)
- LOG(FATAL) << "failed to initialize display hardware";
}
private:
« no previous file with comments | « ui/ozone/platform/dri/ozone_platform_dri.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698