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

Unified Diff: Source/core/dom/DOMError.idl

Issue 312683005: IDL: Support optional argument default value syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: address nits Created 6 years, 6 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/core/dom/Comment.idl ('k') | Source/core/dom/DOMImplementation.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMError.idl
diff --git a/Source/core/dom/DOMError.idl b/Source/core/dom/DOMError.idl
index 7c79c487aa2781630e3721f0bcd68c45cedb11b8..aba4e7a6c512bcfc3c198da644485a69b25ffb7d 100644
--- a/Source/core/dom/DOMError.idl
+++ b/Source/core/dom/DOMError.idl
@@ -26,7 +26,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
[
- Constructor(DOMString name, [Default=NullString] optional DOMString message),
+ Constructor(DOMString name, optional DOMString message = null),
WillBeGarbageCollected
] interface DOMError {
readonly attribute DOMString name;
« no previous file with comments | « Source/core/dom/Comment.idl ('k') | Source/core/dom/DOMImplementation.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698