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

Unified Diff: content/shell/renderer/layout_test/layout_test_content_renderer_client.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/shell/renderer/layout_test/layout_test_content_renderer_client.h
diff --git a/content/shell/renderer/layout_test/layout_test_content_renderer_client.h b/content/shell/renderer/layout_test/layout_test_content_renderer_client.h
index 7497fc9e684191cef4a5072b8ba7dd49359bd126..4105c18e88a3d4668a878fa556eef1fa9f1755e3 100644
--- a/content/shell/renderer/layout_test/layout_test_content_renderer_client.h
+++ b/content/shell/renderer/layout_test/layout_test_content_renderer_client.h
@@ -23,13 +23,15 @@ class LayoutTestContentRendererClient : public ShellContentRendererClient {
void RenderThreadStarted() override;
void RenderFrameCreated(RenderFrame* render_frame) override;
void RenderViewCreated(RenderView* render_view) override;
- blink::WebMediaStreamCenter* OverrideCreateWebMediaStreamCenter(
+ std::unique_ptr<blink::WebMediaStreamCenter>
+ OverrideCreateWebMediaStreamCenter(
blink::WebMediaStreamCenterClient* client) override;
- blink::WebRTCPeerConnectionHandler* OverrideCreateWebRTCPeerConnectionHandler(
+ std::unique_ptr<blink::WebRTCPeerConnectionHandler>
+ OverrideCreateWebRTCPeerConnectionHandler(
blink::WebRTCPeerConnectionHandlerClient* client) override;
- blink::WebMIDIAccessor* OverrideCreateMIDIAccessor(
+ std::unique_ptr<blink::WebMIDIAccessor> OverrideCreateMIDIAccessor(
blink::WebMIDIAccessorClient* client) override;
- blink::WebAudioDevice* OverrideCreateAudioDevice(
+ std::unique_ptr<blink::WebAudioDevice> OverrideCreateAudioDevice(
const blink::WebAudioLatencyHint& latency_hint) override;
blink::WebClipboard* OverrideWebClipboard() override;
blink::WebThemeEngine* OverrideThemeEngine() override;

Powered by Google App Engine
This is Rietveld 408576698