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

Unified Diff: ui/resources/PRESUBMIT.py

Issue 10875076: Add support for non-integer scaling factors in resource_scale_factors presubmit script (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
Index: ui/resources/PRESUBMIT.py
diff --git a/ui/resources/PRESUBMIT.py b/ui/resources/PRESUBMIT.py
index ba38b7106a77cd562712e0035d42af9bf138083d..6155479df1c66706b3b2d7d2bd3c16b73ab33510 100644
--- a/ui/resources/PRESUBMIT.py
+++ b/ui/resources/PRESUBMIT.py
@@ -27,8 +27,8 @@ def _CommonChecks(input_api, output_api):
# List of paths with their associated scale factor. This is used to verify
# that the images modified in one are the correct scale of the other.
path_scales = [
- [(1, 'default_100_percent/'), (2, 'default_200_percent/')],
- [(1, 'touch_100_percent/'), (2, 'touch_200_percent/')],
+ [(100, 'default_100_percent/'), (200, 'default_200_percent/')],
+ [(100, 'touch_100_percent/'), (200, 'touch_200_percent/')],
]
import sys

Powered by Google App Engine
This is Rietveld 408576698