Index: webrtc/test/win/d3d_renderer.cc |
diff --git a/webrtc/test/win/d3d_renderer.cc b/webrtc/test/win/d3d_renderer.cc |
index 7c344ba0b3b0d165864e5d1c1c139884a06b4791..01b032583c7cbf5a8d35380982dbf6d0a65ae3a1 100644 |
--- a/webrtc/test/win/d3d_renderer.cc |
+++ b/webrtc/test/win/d3d_renderer.cc |
@@ -203,7 +203,8 @@ void D3dRenderer::OnFrame(const webrtc::VideoFrame& frame) { |
if (texture_->LockRect(0, &lock_rect, NULL, 0) != D3D_OK) |
return; |
- ConvertFromI420(frame, kARGB, 0, static_cast<uint8_t*>(lock_rect.pBits)); |
+ ConvertFromI420(frame, VideoType::kARGB, 0, |
+ static_cast<uint8_t*>(lock_rect.pBits)); |
texture_->UnlockRect(0); |
d3d_device_->BeginScene(); |