Index: content/browser/gpu/browser_native_pixmap_manager_ozone.h |
diff --git a/content/browser/gpu/browser_native_pixmap_manager_ozone.h b/content/browser/gpu/browser_native_pixmap_manager_ozone.h |
index d4bee60be6ee0596206bdc8a5afbee89f2fa3b40..91a3bf6ba9ed905328102bb100e67cbf7902463d 100644 |
--- a/content/browser/gpu/browser_native_pixmap_manager_ozone.h |
+++ b/content/browser/gpu/browser_native_pixmap_manager_ozone.h |
@@ -30,6 +30,11 @@ class BrowserNativePixmapManager : public ui::NativePixmapManager { |
void Initialize(const base::FileDescriptor& device_fd) override; |
std::vector<Configuration> GetSupportedNativePixmapConfigurations() |
const override; |
+ scoped_refptr<ui::NativePixmap> CreateFromFileDescriptor( |
+ base::FileDescriptor handle, |
+ gfx::Size size, |
+ ui::SurfaceFactoryOzone::BufferFormat format, |
+ ui::SurfaceFactoryOzone::BufferUsage usage) override; |
private: |
friend struct BrowserNativePixmapManagerTrait; |