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

Unified Diff: Source/modules/speech/SpeechSynthesisUtterance.idl

Issue 312683005: IDL: Support optional argument default value syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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: Source/modules/speech/SpeechSynthesisUtterance.idl
diff --git a/Source/modules/speech/SpeechSynthesisUtterance.idl b/Source/modules/speech/SpeechSynthesisUtterance.idl
index b143ea24a06b894e59dbd1f38368ccb42194246a..f03bd22e9d232f58ca49e76505d7d802bf45340e 100644
--- a/Source/modules/speech/SpeechSynthesisUtterance.idl
+++ b/Source/modules/speech/SpeechSynthesisUtterance.idl
@@ -25,7 +25,7 @@
[
WillBeGarbageCollected,
- Constructor([Default=NullString] optional DOMString text),
+ Constructor(optional DOMString text = null),
ConstructorCallWith=ExecutionContext,
RuntimeEnabled=SpeechSynthesis,
] interface SpeechSynthesisUtterance : EventTarget {
« Source/modules/indexeddb/IDBObjectStore.idl ('K') | « Source/modules/indexeddb/IDBObjectStore.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698