commit | 4b82c97e55efb84e4e0ebad6fa9625d9b5e2234e | [log] [tgz] |
---|---|---|
author | dcheng <dcheng@chromium.org> | Sat Sep 20 14:53:11 2014 |
committer | Commit bot <commit-bot@chromium.org> | Sat Sep 20 14:53:28 2014 |
tree | c0295d1c7726952365d097eeb4f60b1be1fee364 | |
parent | 2235e6b4dc491a20467d9ebf8998dbca575faacc [diff] |
Remove implicit conversions from scoped_refptr to T* in FileWatcher. Since set_message_loop() takes ownership of the MessageLoop parameter anyway, just pass it a const scoped_refptr<T>&, rather than converting from scoped_refptr to T* back to scoped_refptr. BUG=110610 TBR=rvargas@chromioum.org Review URL: https://codereview.chromium.org/588003002 Cr-Commit-Position: refs/heads/master@{#295875}