| 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 f043996669ccccbdebca6a4925ce7a977631fa4d..8557f35eaffa3e3c1509a375ba8618c4ee384f48 100644
|
| --- a/ui/ozone/platform/dri/ozone_platform_gbm.cc
|
| +++ b/ui/ozone/platform/dri/ozone_platform_gbm.cc
|
| @@ -154,7 +154,6 @@ class OzonePlatformGbm : public OzonePlatform {
|
| surface_factory_ozone_->InitializeGpu(dri_.get(),
|
| surface_generator_->device(),
|
| screen_manager_.get());
|
| -
|
| gpu_platform_support_.reset(
|
| new GpuPlatformSupportGbm(surface_factory_ozone_.get()));
|
| #if defined(OS_CHROMEOS)
|
| @@ -165,6 +164,9 @@ class OzonePlatformGbm : public OzonePlatform {
|
| screen_manager_.get(),
|
| NULL)))));
|
| #endif
|
| + if (surface_factory_ozone_->InitializeHardware() !=
|
| + DriSurfaceFactory::INITIALIZED)
|
| + LOG(FATAL) << "failed to initialize display hardware";
|
| }
|
|
|
| private:
|
|
|