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

Unified Diff: scripts/slave/xvfb.py

Issue 1105903002: xvfb: set dpi to 96 (xvfb defaults to 100). (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 5 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/xvfb.py
diff --git a/scripts/slave/xvfb.py b/scripts/slave/xvfb.py
index 7d4977b63f44733f8be635ae46ac4310a8c8e4b4..f5f357764358527eb361fc23bf2d2f1b026f9a29 100644
--- a/scripts/slave/xvfb.py
+++ b/scripts/slave/xvfb.py
@@ -72,7 +72,8 @@ def StartVirtualX(slave_build_name, build_dir, with_wm=True, server_dir=None):
# Start a virtual X server that we run the tests in. This makes it so we can
# run the tests even if we didn't start the tests from an X session.
- proc = subprocess.Popen([cmd, display, '-screen', '0', '1024x768x24', '-ac'],
+ proc = subprocess.Popen([cmd, display, '-screen', '0', '1024x768x24', '-ac',
+ '-dpi', '96'],
pfeifer 2015/04/24 14:59:52 With HiDPI becoming more popular, it's conceivable
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
xvfb_pid_filename = _XvfbPidFilename(slave_build_name)
open(xvfb_pid_filename, 'w').write(str(proc.pid))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698