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

Unified Diff: third_party/WebKit/Source/modules/plugins/MimeTypeArray.idl

Issue 2752103003: Make item and namedItem args in MimeTypeArray/PluginArray/Plugin non-optional (Closed)
Patch Set: Codereview update Created 3 years, 9 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 | « no previous file | third_party/WebKit/Source/modules/plugins/Plugin.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/plugins/MimeTypeArray.idl
diff --git a/third_party/WebKit/Source/modules/plugins/MimeTypeArray.idl b/third_party/WebKit/Source/modules/plugins/MimeTypeArray.idl
index 9854da4f32dd14426342ce700d678642db08438c..ef3d6b722c2d0591d60ca0ab222eaee2454e0a6e 100644
--- a/third_party/WebKit/Source/modules/plugins/MimeTypeArray.idl
+++ b/third_party/WebKit/Source/modules/plugins/MimeTypeArray.idl
@@ -22,7 +22,7 @@
ImplementedAs=DOMMimeTypeArray
] interface MimeTypeArray {
readonly attribute unsigned long length;
- getter MimeType item([Default=Undefined] optional unsigned long index);
- MimeType namedItem([Default=Undefined] optional DOMString name);
- [NotEnumerable, ImplementedAs=namedItem] getter MimeType ([Default=Undefined] optional DOMString name);
+ getter MimeType? item(unsigned long index);
+ MimeType? namedItem(DOMString name);
+ [NotEnumerable, ImplementedAs=namedItem] getter MimeType? (DOMString name);
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/plugins/Plugin.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698