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

Unified Diff: content/renderer/render_thread_impl.h

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: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index 7fedb1878660724d9ddb00e54fa57e19f86feef9..46e27ce6204e9f36b676151b74e71ec688cdb022 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -333,7 +333,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 {
@@ -608,9 +608,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_;
« no previous file with comments | « content/renderer/media_capture_from_element/canvas_capture_handler_unittest.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698