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

Unified Diff: content/renderer/media/rtc_peer_connection_handler.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
Index: content/renderer/media/rtc_peer_connection_handler.cc
diff --git a/content/renderer/media/rtc_peer_connection_handler.cc b/content/renderer/media/rtc_peer_connection_handler.cc
index c14e48be23fd1d8b3f93bd7642f2038395c16e58..7b7eca888c71bd0329fcf1c798e8d5a13a7abcfa 100644
--- a/content/renderer/media/rtc_peer_connection_handler.cc
+++ b/content/renderer/media/rtc_peer_connection_handler.cc
@@ -490,7 +490,7 @@ bool RTCPeerConnectionHandler::addICECandidate(
UTF16ToUTF8(candidate.sdpMid()),
candidate.sdpMLineIndex(),
UTF16ToUTF8(candidate.candidate())));
- if (!native_candidate.get()) {
+ if (!native_candidate) {
LOG(ERROR) << "Could not create native ICE candidate.";
return false;
}
« no previous file with comments | « content/renderer/media/pepper_platform_video_decoder_impl.cc ('k') | content/renderer/p2p/port_allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698