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

Unified Diff: chrome/gpu/gpu_channel.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/gpu/gpu_channel.cc
diff --git a/chrome/gpu/gpu_channel.cc b/chrome/gpu/gpu_channel.cc
index ea20f229dbecdfae7e49d79da26dcf8446e90756..56ba07951d94003e62e079a6123b53cf4efb5afc 100644
--- a/chrome/gpu/gpu_channel.cc
+++ b/chrome/gpu/gpu_channel.cc
@@ -186,22 +186,18 @@ void GpuChannel::OnDestroyCommandBuffer(int32 route_id) {
}
void GpuChannel::OnGetVideoService(GpuVideoServiceInfoParam* info) {
- info->service_available_ = 0;
+ info->service_available = 0;
#if defined(ENABLE_GPU)
-#if defined(OS_WIN)
- // TODO(jiesun): Not every windows platforms will support our media
- // foundation implementation. Add more check here.
LOG(INFO) << "GpuChannel::OnGetVideoService";
GpuVideoService* service = GpuVideoService::get();
if (service == NULL)
return;
- info->video_service_host_route_id_ = GenerateRouteID();
- info->video_service_route_id_ = GenerateRouteID();
+ info->video_service_host_route_id = GenerateRouteID();
+ info->video_service_route_id = GenerateRouteID();
// TODO(jiesun): we could had multiple entries in this routing table.
- router_.AddRoute(info->video_service_route_id_, service);
- info->service_available_ = 1;
-#endif
+ router_.AddRoute(info->video_service_route_id, service);
+ info->service_available = 1;
#endif
}

Powered by Google App Engine
This is Rietveld 408576698