Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Unified Diff: chrome/renderer/gpu_video_service_host.cc

Issue 3335014: Added FakeGlVideoDecodeEngine to exercise the IPC protocol for hardware video decoding (Closed)
Patch Set: compile man... Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/gpu_video_service_host.cc
diff --git a/chrome/renderer/gpu_video_service_host.cc b/chrome/renderer/gpu_video_service_host.cc
index 0c642306e507d6b16b59f00e4ca2eb2dca32f3bd..94803a4218b20928d3e1741958db67c76194419e 100644
--- a/chrome/renderer/gpu_video_service_host.cc
+++ b/chrome/renderer/gpu_video_service_host.cc
@@ -42,13 +42,13 @@ void GpuVideoServiceHost::OnGpuChannelConnected(
router_ = router;
// Get the routing_id of video service in GPU process.
- service_info_.service_available_ = 0;
+ service_info_.service_available = 0;
if (!channel_host_->Send(new GpuChannelMsg_GetVideoService(&service_info_))) {
LOG(ERROR) << "GpuChannelMsg_GetVideoService failed";
}
- if (service_info_.service_available_)
- router->AddRoute(service_info_.video_service_host_route_id_, this);
+ if (service_info_.service_available)
+ router->AddRoute(service_info_.video_service_host_route_id, this);
}
GpuVideoDecoderHost* GpuVideoServiceHost::CreateVideoDecoder(

Powered by Google App Engine
This is Rietveld 408576698