summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorvmpstr <vmpstr@chromium.org>2016-03-18 13:46:41 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-18 20:48:37 +0000
commit1d492be0508e1638a37ac6a156d16e9f724da69c (patch)
tree09b8f1f2937a3c59ed60ff999ede5f5530318d5e /build
parent4646679d35fcf63a03155e8a454df099a74d2788 (diff)
downloadchromium_src-1d492be0508e1638a37ac6a156d16e9f724da69c.zip
chromium_src-1d492be0508e1638a37ac6a156d16e9f724da69c.tar.gz
chromium_src-1d492be0508e1638a37ac6a156d16e9f724da69c.tar.bz2
base: Add RetainedRef for unwrapping scoped_refptrs.
This patch adds a RetainedRef call in order to be used in Bind with scoped_refptrs that are to be unwrapped before calling the function. This is an effort to eliminate implicit scoped_refptr construction from Bind. Currently, scoped_refptr are always unwrapped into their underlying T*. This means that if the function does actually expect a scoped_refptr, one will be constructed implicitly. The plan is to stop unwrapping scoped_refptrs altogether. If the behavior is still desired, then the object has to be wrapped in a RetainedRef wrapper. For more details, please see crbug.com/589048 R=tzik@chromium.org, danakj@chromium.org, thakis@chromium.org BUG=589048 Review URL: https://codereview.chromium.org/1815493002 Cr-Commit-Position: refs/heads/master@{#382076}
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions