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

Unified Diff: ui/ozone/platform/dri/ozone_platform_dri.cc

Issue 953363003: Figure out the default graphics card on the Browser process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@assume-minigbm
Patch Set: Created 5 years, 10 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: ui/ozone/platform/dri/ozone_platform_dri.cc
diff --git a/ui/ozone/platform/dri/ozone_platform_dri.cc b/ui/ozone/platform/dri/ozone_platform_dri.cc
index b01cfc17bf8db60770c1a24b6bd92f70c3c5a7f6..1c355370ce1a52425ea474ce6b59491ca3432095 100644
--- a/ui/ozone/platform/dri/ozone_platform_dri.cc
+++ b/ui/ozone/platform/dri/ozone_platform_dri.cc
@@ -88,7 +88,7 @@ class OzonePlatformDri : public OzonePlatform {
scoped_ptr<NativeDisplayDelegate> CreateNativeDisplayDelegate() override {
return make_scoped_ptr(new NativeDisplayDelegateProxy(
gpu_platform_support_host_.get(), device_manager_.get(),
- display_manager_.get()));
+ display_manager_.get(), dri_->device_path()));
}
void InitializeUI() override {
if (!dri_->Initialize())

Powered by Google App Engine
This is Rietveld 408576698