Fix _CheckNoDISABLETypoInTests when test file is deleted.

[email protected]

Bug: 888425
Change-Id: I8ff979ae3d969ccff7ca9cbb1ec1deb86f65535a
Reviewed-on: https://chromium-review.googlesource.com/1241956
Commit-Queue: Katie Dektar <[email protected]>
Reviewed-by: Dominic Battré <[email protected]>
Cr-Commit-Position: refs/heads/master@{#593847}
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index e2bdf373..b14dd954 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -877,7 +877,7 @@
       r'^\s*TEST[^(]*\([a-zA-Z0-9_]+,\s*DISABLE_[a-zA-Z0-9_]+\)',
       input_api.re.MULTILINE)
 
-  for f in input_api.AffectedFiles():
+  for f in input_api.AffectedFiles(False):
     if not 'test' in f.LocalPath() or not f.LocalPath().endswith('.cc'):
       continue