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

Unified Diff: chrome/app/theme/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
« no previous file with comments | « no previous file | ui/resources/PRESUBMIT.py » ('j') | ui/resources/resource_check/resource_scale_factors.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/theme/PRESUBMIT.py
diff --git a/chrome/app/theme/PRESUBMIT.py b/chrome/app/theme/PRESUBMIT.py
index 96aa98a6a7436ad068def112e656bc197c5e2328..890aa74df7ae3a93adaca389dc02ef7f6a88d619 100644
--- a/chrome/app/theme/PRESUBMIT.py
+++ b/chrome/app/theme/PRESUBMIT.py
@@ -28,8 +28,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
« no previous file with comments | « no previous file | ui/resources/PRESUBMIT.py » ('j') | ui/resources/resource_check/resource_scale_factors.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698