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

Unified Diff: chrome/app/nibs/PRESUBMIT.py

Issue 11488009: Add content settings page action for Pepper broker authorization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years 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
Index: chrome/app/nibs/PRESUBMIT.py
diff --git a/chrome/app/nibs/PRESUBMIT.py b/chrome/app/nibs/PRESUBMIT.py
index ffb09d0d044dadf8ee19a13616ea75d7c6451922..a04ecc9e15711b89b444b273597eb827c16879bf 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
for line in xib.NewContents():

Powered by Google App Engine
This is Rietveld 408576698