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

Unified Diff: third_party/WebKit/Source/modules/plugins/Plugin.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
Index: third_party/WebKit/Source/modules/plugins/Plugin.idl
diff --git a/third_party/WebKit/Source/modules/plugins/Plugin.idl b/third_party/WebKit/Source/modules/plugins/Plugin.idl
index f8db9816fe2f1583fd1c1f6090767385c957780a..3d0dd24d642951a775feaf9d65339e61b2645ed7 100644
--- a/third_party/WebKit/Source/modules/plugins/Plugin.idl
+++ b/third_party/WebKit/Source/modules/plugins/Plugin.idl
@@ -27,7 +27,7 @@
readonly attribute DOMString filename;
readonly attribute DOMString description;
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 | « third_party/WebKit/Source/modules/plugins/MimeTypeArray.idl ('k') | third_party/WebKit/Source/modules/plugins/PluginArray.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698