diff options
Diffstat (limited to 'media')
-rw-r--r-- | media/mf/mft_h264_decoder.cc | 8 | ||||
-rw-r--r-- | media/mf/mft_h264_decoder.h | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/media/mf/mft_h264_decoder.cc b/media/mf/mft_h264_decoder.cc index c63cae0..667645c 100644 --- a/media/mf/mft_h264_decoder.cc +++ b/media/mf/mft_h264_decoder.cc @@ -324,11 +324,11 @@ bool MftH264Decoder::CreateD3DDevManager() { LOG(ERROR) << "Failed to create D3D9"; return false; } - static const TCHAR windowName[] = TEXT("MFT Decoder Hidden Window"); - static const TCHAR className[] = TEXT("STATIC"); + static const TCHAR kWindowName[] = TEXT("MFT Decoder Hidden Window"); + static const TCHAR kClassName[] = TEXT("STATIC"); device_window_ = CreateWindowEx(WS_EX_NOACTIVATE, - className, - windowName, + kClassName, + kWindowName, WS_DISABLED | WS_POPUP, 0, 0, 1, 1, HWND_MESSAGE, diff --git a/media/mf/mft_h264_decoder.h b/media/mf/mft_h264_decoder.h index 450cc2b..ede63cb 100644 --- a/media/mf/mft_h264_decoder.h +++ b/media/mf/mft_h264_decoder.h @@ -11,8 +11,6 @@ #if defined(OS_WIN) -#include <deque> - #include <d3d9.h> #include <dxva2api.h> #include <mfidl.h> |