Index: chrome/browser/resources/PRESUBMIT.py |
diff --git a/chrome/browser/resources/PRESUBMIT.py b/chrome/browser/resources/PRESUBMIT.py |
index e22e2a09f825b0c5cdd9d2dcb3caf72bc5bd38e8..d603cc001878c93e39c0b23d385005b5f542a724 100644 |
--- a/chrome/browser/resources/PRESUBMIT.py |
+++ b/chrome/browser/resources/PRESUBMIT.py |
@@ -12,8 +12,8 @@ ACTION_XML_PATH = '../../../tools/metrics/actions/actions.xml' |
def CheckUserActionUpdate(input_api, output_api, action_xml_path): |
"""Checks if any new user action has been added.""" |
- if any('actions.xml' == input_api.os_path.basename(f.LocalPath()) for f in |
- input_api.AffectedFiles()): |
+ if any('actions.xml' == input_api.os_path.basename(f) for f in |
+ input_api.change.LocalPaths()): |
# If actions.xml is already included in the changelist, the PRESUBMIT |
# for actions.xml will do a more complete presubmit check. |
return [] |