Commit 9e7ccfa5 authored by Peter Kasting's avatar Peter Kasting Committed by Commit Bot

Improve presubmit message for QuitWhenIdleClosure().

Also makes this error about deprecated functions into a warning.  The problems
with using these are not so severe they should block uploads.

BUG=none
TEST=none

Change-Id: I94e6cc900e23d8f3371aace9386a80829906083b
Reviewed-on: https://chromium-review.googlesource.com/902448Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/master@{#534542}
parent f0c6ecb6
......@@ -388,10 +388,10 @@ _BANNED_CPP_FUNCTIONS = (
(
'MessageLoop::QuitWhenIdleClosure',
(
'MessageLoop::QuitWhenIdleClosure is deprecated. Please migrate to',
'Runloop.',
'MessageLoop::QuitWhenIdleClosure is deprecated. Please use a',
'QuitWhenIdleClosure obtained from a specific RunLoop instance.',
),
True,
False,
(),
),
(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment