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

Unified Diff: Source/core/fileapi/Blob.idl

Issue 367003002: Make more [TreatNullAs=NullString] DOMString arguments nullable (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
Index: Source/core/fileapi/Blob.idl
diff --git a/Source/core/fileapi/Blob.idl b/Source/core/fileapi/Blob.idl
index df6662d3af4987f83d8f87a467154ef0e6203360..dbc5e5acfc626d4b1e010007beeab995ccde92af 100644
--- a/Source/core/fileapi/Blob.idl
+++ b/Source/core/fileapi/Blob.idl
@@ -38,7 +38,7 @@
readonly attribute unsigned long long size;
readonly attribute DOMString type;
- [RaisesException] Blob slice(optional long long start, optional long long end, [TreatNullAs=NullString, TreatUndefinedAs=NullString] optional DOMString contentType);
+ [RaisesException] Blob slice(optional long long start, optional long long end, [TreatUndefinedAs=NullString] optional DOMString? contentType);
[RaisesException, CallWith=ExecutionContext, RuntimeEnabled=FileAPIBlobClose] void close();
};

Powered by Google App Engine
This is Rietveld 408576698