From 4abb018ec6ebdcdd397df702bf13aa2592de1946 Mon Sep 17 00:00:00 2001 From: "thakis@chromium.org" Date: Mon, 11 Jun 2012 17:38:24 +0000 Subject: mac: Enable HiDPI for the accelerated path. WebKit only sends HiDPI IOSurfaces if the screen is "DIP enabled" (see content/browser/web_contents/web_contents_impl.cc around line 590, search for IsDIPEnabled()), so set that to true. BUG=31960 TEST=Poster circle looks good in HiDPI TBR=sky Review URL: https://chromiumcodereview.appspot.com/10544086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141427 0039d316-1c4b-4281-b951-d872f2087c98 --- ui/gfx/screen_mac.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/gfx/screen_mac.mm b/ui/gfx/screen_mac.mm index a7957c2..1ef154e 100644 --- a/ui/gfx/screen_mac.mm +++ b/ui/gfx/screen_mac.mm @@ -76,7 +76,7 @@ namespace gfx { // static bool Screen::IsDIPEnabled() { - return false; + return true; } // static -- cgit v1.1