| 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 4e47a289f841630bbcf75ee1ad386f43242a6368..0dff77200aa8c9eb5fd4921abe66268920530c90 100644
|
| --- a/ui/ozone/platform/dri/ozone_platform_gbm.cc
|
| +++ b/ui/ozone/platform/dri/ozone_platform_gbm.cc
|
| @@ -99,6 +99,8 @@ class OzonePlatformGbm : public OzonePlatform {
|
| cursor_factory_ozone_.reset(new CursorFactoryOzone());
|
| event_factory_ozone_.reset(new EventFactoryEvdev(
|
| NULL, device_manager_.get()));
|
| +
|
| + gpu_platform_support_host_.reset(CreateStubGpuPlatformSupportHost());
|
| }
|
|
|
| virtual void InitializeGPU() OVERRIDE {
|
| @@ -110,6 +112,8 @@ class OzonePlatformGbm : public OzonePlatform {
|
| new GbmSurfaceFactory(dri_.get(),
|
| surface_generator_->device(),
|
| screen_manager_.get()));
|
| +
|
| + gpu_platform_support_.reset(CreateStubGpuPlatformSupport());
|
| }
|
|
|
| private:
|
| @@ -123,6 +127,9 @@ class OzonePlatformGbm : public OzonePlatform {
|
| scoped_ptr<CursorFactoryOzone> cursor_factory_ozone_;
|
| scoped_ptr<EventFactoryEvdev> event_factory_ozone_;
|
|
|
| + scoped_ptr<GpuPlatformSupport> gpu_platform_support_;
|
| + scoped_ptr<GpuPlatformSupportHost> gpu_platform_support_host_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(OzonePlatformGbm);
|
| };
|
|
|
|
|