diff options
author | dcheng <dcheng@chromium.org> | 2014-09-19 20:31:22 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-20 03:31:34 +0000 |
commit | c041fef8226db56fcec101567c9eef0f9ce49ef5 (patch) | |
tree | 6636a4faebcdf9ba8d97ca5f96e123fd3f3121a4 /base/files | |
parent | 037fdb5001271435af339b1d165e5512004eb160 (diff) | |
download | chromium_src-c041fef8226db56fcec101567c9eef0f9ce49ef5.zip chromium_src-c041fef8226db56fcec101567c9eef0f9ce49ef5.tar.gz chromium_src-c041fef8226db56fcec101567c9eef0f9ce49ef5.tar.bz2 |
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}
Diffstat (limited to 'base/files')
-rw-r--r-- | base/files/file_path_watcher_mac.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate { } 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(); } |