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

Unified Diff: Source/modules/encoding/TextDecoder.idl

Issue 356703002: Use IDL argument default values in modules/encoding/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/modules/encoding/TextDecoder.cpp ('k') | Source/modules/encoding/TextEncoder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/encoding/TextDecoder.idl
diff --git a/Source/modules/encoding/TextDecoder.idl b/Source/modules/encoding/TextDecoder.idl
index f71c7b896474def93df016c4ab0b4fce48dae88c..a92b1f56eaa98ab33b1c4e0d98fbb42b26254415 100644
--- a/Source/modules/encoding/TextDecoder.idl
+++ b/Source/modules/encoding/TextDecoder.idl
@@ -31,7 +31,7 @@
[
RuntimeEnabled=EncodingAPI,
Exposed=Window&Worker,
- Constructor(optional DOMString label = null, optional Dictionary options),
+ Constructor(optional DOMString label = "utf-8", optional Dictionary options),
RaisesException=Constructor,
GarbageCollected,
MeasureAs=TextDecoderConstructor
« no previous file with comments | « Source/modules/encoding/TextDecoder.cpp ('k') | Source/modules/encoding/TextEncoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698