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

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

Issue 2781553002: gpu: Introduce separate mojo api for failed initialization. (Closed)
Patch Set: . Created 3 years, 9 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 | « gpu/ipc/common/typemaps.gni ('k') | services/ui/gpu/gpu_service.h » ('j') | 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 78494671430dce7a6306664d392d639b01072d86..c2081bcdfb94c149e4039f377aa03fd427917ac9 100644
--- a/services/ui/gpu/gpu_main.cc
+++ b/services/ui/gpu/gpu_main.cc
@@ -237,7 +237,8 @@ void GpuMain::CreateGpuServiceOnGpuThread(
gpu::GpuProcessActivityFlags activity_flags) {
mojom::GpuHostPtr gpu_host;
gpu_host.Bind(std::move(gpu_host_info));
- gpu_service_->InitializeWithHost(std::move(gpu_host), preferences,
+ gpu_service_->UpdateGPUInfoFromPreferences(preferences);
+ gpu_service_->InitializeWithHost(std::move(gpu_host),
std::move(activity_flags));
gpu_service_->Bind(std::move(request));
« no previous file with comments | « gpu/ipc/common/typemaps.gni ('k') | services/ui/gpu/gpu_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698