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

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: rebase 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
« no previous file with comments | « chrome/app/theme/PRESUBMIT.py ('k') | ui/resources/resource_check/resource_scale_factors.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/resources/PRESUBMIT.py
diff --git a/ui/resources/PRESUBMIT.py b/ui/resources/PRESUBMIT.py
index 9b2c4ddceb65dab52798743e0aabb9e4293b29f1..0408a5216f2283132ab4be6cb24831b2159c035a 100644
--- a/ui/resources/PRESUBMIT.py
+++ b/ui/resources/PRESUBMIT.py
@@ -27,7 +27,7 @@ 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/')],
+ [(100, 'default_100_percent/'), (200, 'default_200_percent/')],
]
import sys
« no previous file with comments | « chrome/app/theme/PRESUBMIT.py ('k') | ui/resources/resource_check/resource_scale_factors.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698