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

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

Issue 367663002: Make [TreatNullAs=NullString] DOMString arguments nullable instead (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/core/css/CSSStyleDeclaration.idl ('k') | Source/core/dom/Document.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMImplementation.idl
diff --git a/Source/core/dom/DOMImplementation.idl b/Source/core/dom/DOMImplementation.idl
index 472d1b0998fe6be3f35916d1e860decb4522c7f1..d210529988b3d61554dfd7ed7a953699b0ea9b3c 100644
--- a/Source/core/dom/DOMImplementation.idl
+++ b/Source/core/dom/DOMImplementation.idl
@@ -26,15 +26,15 @@
// DOM Level 1
[ImplementedAs=hasFeatureForBindings, MeasureAs=DOMImplementationHasFeature]
- boolean hasFeature(DOMString feature, [TreatNullAs=NullString] DOMString version);
+ boolean hasFeature(DOMString feature, DOMString? version);
// DOM Level 2
[RaisesException] DocumentType createDocumentType(DOMString qualifiedName,
DOMString publicId,
DOMString systemId);
- [RaisesException] XMLDocument createDocument([TreatNullAs=NullString] DOMString namespaceURI,
- [TreatNullAs=NullString] DOMString qualifiedName,
+ [RaisesException] XMLDocument createDocument(DOMString? namespaceURI,
+ DOMString? qualifiedName,
[Default=Undefined] optional DocumentType doctype);
// HTMLDOMImplementation interface from DOM Level 2 HTML
« no previous file with comments | « Source/core/css/CSSStyleDeclaration.idl ('k') | Source/core/dom/Document.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698