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

Unified Diff: Source/core/platform/chromium/support/WebSpeechSynthesisVoice.cpp

Issue 14585005: Add a WebSpeechSynthesisVoice constructor to the public API. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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
« no previous file with comments | « Source/Platform/chromium/public/WebSpeechSynthesisVoice.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/chromium/support/WebSpeechSynthesisVoice.cpp
diff --git a/Source/core/platform/chromium/support/WebSpeechSynthesisVoice.cpp b/Source/core/platform/chromium/support/WebSpeechSynthesisVoice.cpp
index b4c95b977edcd1488930d4a1846ae780a831b6ee..3594794927a9cbfa310a04a26d45e29997b5f48c 100644
--- a/Source/core/platform/chromium/support/WebSpeechSynthesisVoice.cpp
+++ b/Source/core/platform/chromium/support/WebSpeechSynthesisVoice.cpp
@@ -33,6 +33,11 @@
namespace WebKit {
+WebSpeechSynthesisVoice::WebSpeechSynthesisVoice()
+ : m_private(WebCore::PlatformSpeechSynthesisVoice::create())
+{
+}
+
void WebSpeechSynthesisVoice::assign(const WebSpeechSynthesisVoice& other)
{
m_private = other.m_private;
« no previous file with comments | « Source/Platform/chromium/public/WebSpeechSynthesisVoice.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698