Index: chrome/renderer/chrome_content_renderer_client.cc |
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc |
index e561f09f70605dc8a067a5d5e3036656800cc280..5ab7ba898b73e0c2f34834c02d422172ec491436 100644 |
--- a/chrome/renderer/chrome_content_renderer_client.cc |
+++ b/chrome/renderer/chrome_content_renderer_client.cc |
@@ -1268,10 +1268,10 @@ bool ChromeContentRendererClient::IsExtensionOrSharedModuleWhitelisted( |
} |
#endif |
-blink::WebSpeechSynthesizer* |
+std::unique_ptr<blink::WebSpeechSynthesizer> |
ChromeContentRendererClient::OverrideSpeechSynthesizer( |
blink::WebSpeechSynthesizerClient* client) { |
- return new TtsDispatcher(client); |
+ return base::MakeUnique<TtsDispatcher>(client); |
} |
bool ChromeContentRendererClient::AllowPepperMediaStreamAPI( |