| 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..8bd21662920b9df24cbb9cb5c71d41283ccfeb07 100644
|
| --- a/ui/gfx/color_space_win.h
|
| +++ b/ui/gfx/color_space_win.h
|
| @@ -7,6 +7,8 @@
|
|
|
| #include <d3d9.h>
|
|
|
| +#include <DXGIType.h>
|
| +
|
| // Work around bug in this header by disabling the relevant warning for it.
|
| // https://connect.microsoft.com/VisualStudio/feedback/details/911260/dxva2api-h-in-win8-sdk-triggers-c4201-with-w4
|
| #pragma warning(push)
|
| @@ -21,6 +23,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
|
|
|