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

Unified Diff: cc/PRESUBMIT.py

Issue 1437413002: cc: Remove ScopedPtrVector and cc::remove_if. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: just the vector Created 5 years, 1 month 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: cc/PRESUBMIT.py
diff --git a/cc/PRESUBMIT.py b/cc/PRESUBMIT.py
index c8506182da1878681437f25297c1886f1995e862..f044943f4ee4e39839014300499e0d42352a0a3b 100644
--- a/cc/PRESUBMIT.py
+++ b/cc/PRESUBMIT.py
@@ -247,9 +247,7 @@ def CheckNamespace(input_api, output_api):
contents = input_api.ReadFile(f, 'rb')
match = re.search(r'namespace\s*cc\s*{', contents)
if match:
- whitelist = [
- r"cc::remove_if\b",
- ]
+ whitelist = []
if FindNamespaceInBlock(match.end(), 'cc', contents, whitelist=whitelist):
errors.append(f.LocalPath())
« no previous file with comments | « cc/BUILD.gn ('k') | cc/animation/animation_player.h » ('j') | cc/animation/animation_player.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698