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

Unified Diff: content/renderer/render_thread_impl.h

Issue 2846843002: [blink] Unique pointers in Platform.h (Closed)
Patch Set: fix content_shell compilation 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: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index 8ca048bea8209844613c3d06e552c9494df43d50..67a6675332266a2454730672b7ec86ea92a5c6ff 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -334,7 +334,7 @@ class CONTENT_EXPORT RenderThreadImpl
// Creates the embedder implementation of WebMediaStreamCenter.
// The resulting object is owned by WebKit and deleted by WebKit at tear-down.
- blink::WebMediaStreamCenter* CreateMediaStreamCenter(
+ std::unique_ptr<blink::WebMediaStreamCenter> CreateMediaStreamCenter(
blink::WebMediaStreamCenterClient* client);
BrowserPluginManager* browser_plugin_manager() const {
@@ -607,9 +607,6 @@ class CONTENT_EXPORT RenderThreadImpl
std::unique_ptr<ResourceDispatchThrottler> resource_dispatch_throttler_;
std::unique_ptr<CacheStorageDispatcher> main_thread_cache_storage_dispatcher_;
- // Used on the render thread and deleted by WebKit at shutdown.
- blink::WebMediaStreamCenter* media_stream_center_;
-
// Used on the renderer and IPC threads.
scoped_refptr<BlobMessageFilter> blob_message_filter_;
scoped_refptr<DBMessageFilter> db_message_filter_;

Powered by Google App Engine
This is Rietveld 408576698