summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-11 17:38:24 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-11 17:38:24 +0000
commit4abb018ec6ebdcdd397df702bf13aa2592de1946 (patch)
tree2d77a87072b39202e6330d6e6660c66bf705480c /ui
parent6722843fe9f705918d1f801e2193394cad613700 (diff)
downloadchromium_src-4abb018ec6ebdcdd397df702bf13aa2592de1946.zip
chromium_src-4abb018ec6ebdcdd397df702bf13aa2592de1946.tar.gz
chromium_src-4abb018ec6ebdcdd397df702bf13aa2592de1946.tar.bz2
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
Diffstat (limited to 'ui')
-rw-r--r--ui/gfx/screen_mac.mm2
1 files changed, 1 insertions, 1 deletions
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