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

Unified Diff: content/renderer/media/peer_connection_tracker.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/peer_connection_tracker.cc
diff --git a/content/renderer/media/peer_connection_tracker.cc b/content/renderer/media/peer_connection_tracker.cc
index 203ba8b6202db4b046e4e51897ccb820d13d23f6..b2d15ac17d8df6a56d6b7f04a35fdc822dfa89e5 100644
--- a/content/renderer/media/peer_connection_tracker.cc
+++ b/content/renderer/media/peer_connection_tracker.cc
@@ -181,14 +181,14 @@ static DictionaryValue* GetDictValue(const webrtc::StatsReport& report) {
scoped_ptr<DictionaryValue> stats, result;
stats.reset(GetDictValueStats(report));
- if (!stats.get())
+ if (!stats)
return NULL;
result.reset(new DictionaryValue());
- if (!result.get())
+ if (!result)
return NULL;
- if (stats.get())
+ if (stats)
result->Set("stats", stats.release());
result->SetString("id", report.id);
result->SetString("type", report.type);
« no previous file with comments | « content/renderer/media/media_stream_dispatcher.cc ('k') | content/renderer/media/pepper_platform_video_decoder_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698