diff options
author | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-17 16:43:27 +0000 |
---|---|---|
committer | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-17 16:43:27 +0000 |
commit | 59383c78c7b67b435ff4970060213928e1f153b8 (patch) | |
tree | 5c215c1ba34a10bf83ceea455552908c20061a5b /content/browser/speech/speech_recognition_manager_impl.cc | |
parent | bf36fe526209a41c15f6747ffc1392206338896c (diff) | |
download | chromium_src-59383c78c7b67b435ff4970060213928e1f153b8.zip chromium_src-59383c78c7b67b435ff4970060213928e1f153b8.tar.gz chromium_src-59383c78c7b67b435ff4970060213928e1f153b8.tar.bz2 |
Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>.
In r174057, ajwong@ added support for implicit testing to scoped_ptr<>. Removes
these in content/.
BUG=232084
Review URL: https://codereview.chromium.org/14081010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194608 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/speech/speech_recognition_manager_impl.cc')
-rw-r--r-- | content/browser/speech/speech_recognition_manager_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/speech/speech_recognition_manager_impl.cc b/content/browser/speech/speech_recognition_manager_impl.cc index 2dc6cf8..b4d8173 100644 --- a/content/browser/speech/speech_recognition_manager_impl.cc +++ b/content/browser/speech/speech_recognition_manager_impl.cc @@ -86,7 +86,7 @@ int SpeechRecognitionManagerImpl::CreateSession( std::string hardware_info; bool can_report_metrics = false; - if (delegate_.get()) + if (delegate_) delegate_->GetDiagnosticInformation(&can_report_metrics, &hardware_info); SpeechRecognitionEngineConfig remote_engine_config; @@ -138,7 +138,7 @@ void SpeechRecognitionManagerImpl::StartSession(int session_id) { primary_session_id_ = session_id; - if (delegate_.get()) { + if (delegate_) { delegate_->CheckRecognitionIsAllowed( session_id, base::Bind(&SpeechRecognitionManagerImpl::RecognitionAllowedCallback, |