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

Unified Diff: Source/core/dom/CharacterData.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/dom/CharacterData.idl
diff --git a/Source/core/dom/CharacterData.idl b/Source/core/dom/CharacterData.idl
index 10972ba4035926baea23ce7e5b2f69af12626baa..7132d6de9505d1112aac4904df147358f35aad8d 100644
--- a/Source/core/dom/CharacterData.idl
+++ b/Source/core/dom/CharacterData.idl
@@ -23,7 +23,7 @@ interface CharacterData : Node {
readonly attribute unsigned long length;
- [TreatReturnedNullStringAs=Null, RaisesException] DOMString substringData(unsigned long offset, unsigned long length);
+ [RaisesException] DOMString? substringData(unsigned long offset, unsigned long length);
void appendData(DOMString data);
[RaisesException] void insertData(unsigned long offset, DOMString data);

Powered by Google App Engine
This is Rietveld 408576698