summaryrefslogtreecommitdiffstats
path: root/PRESUBMIT.py
diff options
context:
space:
mode:
authorrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-06 20:11:00 +0000
committerrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-06 20:11:00 +0000
commit73981ace07939d3cf0576a31ea8a99cce8898718 (patch)
tree4191aa53bf238d076d27e6140936bbb7a5f2a514 /PRESUBMIT.py
parent18d67244984a574ba2dd8779faabc0e3e34f4b76 (diff)
downloadchromium_src-73981ace07939d3cf0576a31ea8a99cce8898718.zip
chromium_src-73981ace07939d3cf0576a31ea8a99cce8898718.tar.gz
chromium_src-73981ace07939d3cf0576a31ea8a99cce8898718.tar.bz2
Remove almost all usages of the context-free FindOrCreateTabbedBrowser.
Alter presubmit check to only warn about the deprecated flavour of FindOrCreateTabbedBrowser. BUG=129187 TEST=NONE Review URL: https://codereview.chromium.org/11444010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171570 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r--PRESUBMIT.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 252b836..ff620c1 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -152,7 +152,7 @@ _BANNED_CPP_FUNCTIONS = (
(),
),
(
- 'browser::FindOrCreateTabbedBrowser',
+ 'browser::FindOrCreateTabbedBrowserDeprecated',
(
'This function is deprecated and we\'re working on removing it. Pass',
'more context to get a Browser*, like a WebContents, window, or session',