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

Unified Diff: services/ui/gpu/gpu_main.cc

Issue 2834623003: Verify GpuService During FrameSink Creation (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/gpu/gpu_main.cc
diff --git a/services/ui/gpu/gpu_main.cc b/services/ui/gpu/gpu_main.cc
index ba01980a44b8422f1442cc569e038f7f217011cb..580e5b4fc7eb4c38fcd0ca07ed7adc256f041d58 100644
--- a/services/ui/gpu/gpu_main.cc
+++ b/services/ui/gpu/gpu_main.cc
@@ -166,6 +166,7 @@ void GpuMain::CreateFrameSinkManagerInternal(
cc::mojom::FrameSinkManagerRequest request,
cc::mojom::FrameSinkManagerClientPtrInfo client_info) {
DCHECK(!gpu_command_service_);
+ DCHECK(gpu_service_);
gpu_command_service_ = new gpu::GpuInProcessThreadService(
gpu_thread_task_runner_, gpu_service_->sync_point_manager(),
gpu_service_->mailbox_manager(), gpu_service_->share_group());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698