Index: PRESUBMIT.py |
diff --git a/PRESUBMIT.py b/PRESUBMIT.py |
index 61301616d7939a1ed1f31188ff157c192bafc95a..134f62dea44f8d3f034aff7d6d7d4cae9e9e3f94 100644 |
--- a/PRESUBMIT.py |
+++ b/PRESUBMIT.py |
@@ -1447,7 +1447,7 @@ def _CheckIpcOwners(input_api, output_api): |
# directory would match that pattern. If a directory only contains *.mojom |
# files and no *_messages*.h files, we should only nag about rules for |
# *.mojom files. |
- for f in input_api.change.AffectedFiles(): |
+ for f in input_api.change.AffectedFiles(include_deletes=False): |
for pattern in file_patterns: |
if input_api.fnmatch.fnmatch( |
input_api.os_path.basename(f.LocalPath()), pattern): |