Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(585)

Unified Diff: content/test/webrtc_audio_device_test.cc

Issue 14081010: Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix some gtk issues Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/layout_browsertest.cc ('k') | content/worker/worker_webkitplatformsupport_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/webrtc_audio_device_test.cc
diff --git a/content/test/webrtc_audio_device_test.cc b/content/test/webrtc_audio_device_test.cc
index 0ebed12f1681fd9f6cdf92ae646bc3be9a8db212..e37679cb4ee7c1d0e2f513ac51ecf96a09983c89 100644
--- a/content/test/webrtc_audio_device_test.cc
+++ b/content/test/webrtc_audio_device_test.cc
@@ -285,13 +285,13 @@ bool WebRTCAudioDeviceTest::OnMessageReceived(const IPC::Message& message) {
return true;
}
- if (audio_render_host_.get()) {
+ if (audio_render_host_) {
bool message_was_ok = false;
if (audio_render_host_->OnMessageReceived(message, &message_was_ok))
return true;
}
- if (audio_input_renderer_host_.get()) {
+ if (audio_input_renderer_host_) {
bool message_was_ok = false;
if (audio_input_renderer_host_->OnMessageReceived(message, &message_was_ok))
return true;
@@ -317,7 +317,7 @@ void WebRTCAudioDeviceTest::WaitForIOThreadCompletion() {
}
void WebRTCAudioDeviceTest::WaitForAudioManagerCompletion() {
- if (audio_manager_.get())
+ if (audio_manager_)
WaitForMessageLoopCompletion(audio_manager_->GetMessageLoop());
}
« no previous file with comments | « content/test/layout_browsertest.cc ('k') | content/worker/worker_webkitplatformsupport_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698