Commit e794041e authored by Robert Liao's avatar Robert Liao Committed by Commit Bot

Add Conversion Guidance to the GetAddressOf() PRESUBMIT

BUG=914910

Change-Id: I46198de26b7963d31f216a2355bba0d8a4e6999a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1837751
Auto-Submit: Robert Liao <robliao@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#702459}
parent 0796d37b
......@@ -1047,7 +1047,8 @@ _BANNED_CPP_FUNCTIONS = (
'GetAddressOf',
(
'Improper use of Microsoft::WRL::ComPtr<T>::GetAddressOf() has been ',
'implicated in a few leaks. Use operator& instead.'
'implicated in a few leaks. Use operator& instead. See ',
'http://crbug.com/914910 for more conversion guidance.'
),
True,
(),
......
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