Index: ui/gfx/color_space_win.h |
diff --git a/ui/gfx/color_space_win.h b/ui/gfx/color_space_win.h |
index 02d80ff72dc41d5ae0e9831a11084ee482356d0e..ed1bb4f6b683e8278f54f8f8c70376764963f8d7 100644 |
--- a/ui/gfx/color_space_win.h |
+++ b/ui/gfx/color_space_win.h |
@@ -5,6 +5,7 @@ |
#ifndef UI_GFX_COLOR_SPACE_WIN_H_ |
#define UI_GFX_COLOR_SPACE_WIN_H_ |
+#include <DXGIType.h> |
#include <d3d9.h> |
// Work around bug in this header by disabling the relevant warning for it. |
@@ -21,6 +22,7 @@ namespace gfx { |
class GFX_EXPORT ColorSpaceWin { |
public: |
static DXVA2_ExtendedFormat GetExtendedFormat(const ColorSpace& color_space); |
+ static DXGI_COLOR_SPACE_TYPE GetDXGIColorSpace(const ColorSpace& color_space); |
}; |
} // namespace gfx |