commit | c041fef8226db56fcec101567c9eef0f9ce49ef5 | [log] [tgz] |
---|---|---|
author | dcheng <[email protected]> | Sat Sep 20 03:31:22 2014 |
committer | Commit bot <[email protected]> | Sat Sep 20 03:31:34 2014 |
tree | 6636a4faebcdf9ba8d97ca5f96e123fd3f3121a4 | |
parent | 037fdb5001271435af339b1d165e5512004eb160 [diff] [blame] |
Remove implicit conversions from scoped_refptr to T* in base/ This patch was generated by running the rewrite_scoped_refptr clang tool on a Mac build. BUG=110610 Review URL: https://codereview.chromium.org/584883003 Cr-Commit-Position: refs/heads/master@{#295855}
diff --git a/base/files/file_path_watcher_mac.cc b/base/files/file_path_watcher_mac.cc index 54ca46d..b21ba1d 100644 --- a/base/files/file_path_watcher_mac.cc +++ b/base/files/file_path_watcher_mac.cc
@@ -34,13 +34,13 @@ } virtual void Cancel() OVERRIDE { - if (impl_) + if (impl_.get()) impl_->Cancel(); set_cancelled(); } virtual void CancelOnMessageLoopThread() OVERRIDE { - if (impl_) + if (impl_.get()) impl_->Cancel(); set_cancelled(); }