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

Unified Diff: third_party/WebKit/Source/platform/mediastream/MediaStreamCenter.cpp

Issue 2846843002: [blink] Unique pointers in Platform.h (Closed)
Patch Set: fix compilation (and again) Created 3 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: third_party/WebKit/Source/platform/mediastream/MediaStreamCenter.cpp
diff --git a/third_party/WebKit/Source/platform/mediastream/MediaStreamCenter.cpp b/third_party/WebKit/Source/platform/mediastream/MediaStreamCenter.cpp
index 3b7d3ea4b6646aba417f2a8922b5a4e663cd9d64..f305074544256e6a36ea06674ad9278651b53a6e 100644
--- a/third_party/WebKit/Source/platform/mediastream/MediaStreamCenter.cpp
+++ b/third_party/WebKit/Source/platform/mediastream/MediaStreamCenter.cpp
@@ -52,9 +52,7 @@ MediaStreamCenter& MediaStreamCenter::Instance() {
}
MediaStreamCenter::MediaStreamCenter()
- : private_(
- WTF::WrapUnique(Platform::Current()->CreateMediaStreamCenter(this))) {
-}
+ : private_(Platform::Current()->CreateMediaStreamCenter(this)) {}
MediaStreamCenter::~MediaStreamCenter() {}

Powered by Google App Engine
This is Rietveld 408576698