Index: chrome/app/nibs/PRESUBMIT.py |
diff --git a/chrome/app/nibs/PRESUBMIT.py b/chrome/app/nibs/PRESUBMIT.py |
index 2042feaad4f7f99bc0b3d7e7aac11b09c99d65f7..e2bba454b5374eda4e4e7b623af0d39c089ee732 100644 |
--- a/chrome/app/nibs/PRESUBMIT.py |
+++ b/chrome/app/nibs/PRESUBMIT.py |
@@ -33,6 +33,9 @@ def _CheckXIBSystemAndXcodeVersions(input_api, output_api, error_type): |
incorrect_ib_versions = [] |
for xib in affected_xibs: |
+ if len(xib.NewContents()) == 0: |
+ continue |
+ |
system_version = None |
ib_version = None |