From c6f198a1af86b73eda42b27042a984cfd339ce82 Mon Sep 17 00:00:00 2001 From: "Brian R. Bondy" Date: Sat, 30 Apr 2016 19:40:59 -0400 Subject: [PATCH] Update SetScreenInstance call for linux --- brightray/browser/browser_main_parts.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brightray/browser/browser_main_parts.cc b/brightray/browser/browser_main_parts.cc index 888a1c52956..11bbe90c497 100644 --- a/brightray/browser/browser_main_parts.cc +++ b/brightray/browser/browser_main_parts.cc @@ -230,7 +230,7 @@ void BrowserMainParts::PostMainMessageLoopRun() { int BrowserMainParts::PreCreateThreads() { #if defined(USE_AURA) gfx::Screen* screen = views::CreateDesktopScreen(); - gfx::Screen::SetScreenInstance(gfx::SCREEN_TYPE_NATIVE, screen); + gfx::Screen::SetScreenInstance(screen); #if defined(USE_X11) views::LinuxUI::instance()->UpdateDeviceScaleFactor( screen->GetPrimaryDisplay().device_scale_factor());