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

Unified Diff: Source/core/css/StyleSheet.idl

Issue 361883004: Replace many [TreatReturnedNullStringAs=Null] with nullable DOMString (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/css/StyleSheet.idl
diff --git a/Source/core/css/StyleSheet.idl b/Source/core/css/StyleSheet.idl
index ed83f144757b5ce6ccab2601f2fdb0970da696cd..c35b9a56e7a643bc4864187f04feb20f82d06843 100644
--- a/Source/core/css/StyleSheet.idl
+++ b/Source/core/css/StyleSheet.idl
@@ -24,12 +24,12 @@
SetWrapperReferenceFrom=ownerNode,
WillBeGarbageCollected
] interface StyleSheet {
- [TreatReturnedNullStringAs=Null] readonly attribute DOMString type;
+ readonly attribute DOMString? type;
attribute boolean disabled;
readonly attribute Node ownerNode;
readonly attribute StyleSheet parentStyleSheet;
- [TreatReturnedNullStringAs=Null] readonly attribute DOMString href;
- [TreatReturnedNullStringAs=Null] readonly attribute DOMString title;
+ readonly attribute DOMString? href;
+ readonly attribute DOMString? title;
readonly attribute MediaList media;
};

Powered by Google App Engine
This is Rietveld 408576698