summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorstapelberg <stapelberg@google.com>2015-04-24 12:04:13 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-24 19:04:21 +0000
commitb3ca230ddd7d1238ee96ed26ea23e369f10dd655 (patch)
tree207c7f179aa552e4d41d08f8304dc824dc941b2c /testing
parentccbe99a8e0ab02e923af802bfef76c56fcb803d2 (diff)
downloadchromium_src-b3ca230ddd7d1238ee96ed26ea23e369f10dd655.zip
chromium_src-b3ca230ddd7d1238ee96ed26ea23e369f10dd655.tar.gz
chromium_src-b3ca230ddd7d1238ee96ed26ea23e369f10dd655.tar.bz2
Allow arbitrary scale factors.
As discussed in https://codereview.chromium.org/1070433002/, this CL allows arbitrary scale factors, which works because chromium uses the resource most closely matching the scale factor (e.g. 1x for 1.25x, but 2x for 1.9x) and scales it. BUG=143619 Review URL: https://codereview.chromium.org/1078423002 Cr-Commit-Position: refs/heads/master@{#326851}
Diffstat (limited to 'testing')
-rwxr-xr-xtesting/xvfb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/xvfb.py b/testing/xvfb.py
index ce53099..e7280f4 100755
--- a/testing/xvfb.py
+++ b/testing/xvfb.py
@@ -50,7 +50,7 @@ def start_xvfb(xvfb_path, display):
xvfb_path: Path to Xvfb.
"""
cmd = [xvfb_path, display, '-screen', '0', '1024x768x24', '-ac',
- '-nolisten', 'tcp']
+ '-nolisten', 'tcp', '-dpi', '96']
try:
proc = subprocess.Popen(
cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)