| Index: services/ui/ws/platform_display_factory.h
|
| diff --git a/services/ui/ws/platform_display_factory.h b/services/ui/ws/platform_display_factory.h
|
| index d4b8dda16cb39e3b95b3405c2ca2074d840682c9..80bd1c107d65c51a09e60d33d5294d9ec42fd819 100644
|
| --- a/services/ui/ws/platform_display_factory.h
|
| +++ b/services/ui/ws/platform_display_factory.h
|
| @@ -5,6 +5,8 @@
|
| #ifndef SERVICES_UI_WS_PLATFORM_DISPLAY_FACTORY_H_
|
| #define SERVICES_UI_WS_PLATFORM_DISPLAY_FACTORY_H_
|
|
|
| +#include <memory>
|
| +
|
| namespace ui {
|
| namespace ws {
|
|
|
| @@ -14,7 +16,7 @@ class PlatformDisplay;
|
| // PlatformDisplays.
|
| class PlatformDisplayFactory {
|
| public:
|
| - virtual PlatformDisplay* CreatePlatformDisplay() = 0;
|
| + virtual std::unique_ptr<PlatformDisplay> CreatePlatformDisplay() = 0;
|
| };
|
|
|
| } // namespace ws
|
|
|