Index: Source/core/dom/Text.idl |
diff --git a/Source/core/dom/Text.idl b/Source/core/dom/Text.idl |
index e707029f8eb3bc8eca0ea55cdbf2a7ccf61f255f..45c2e93dadfb9bf6e037739c37df68bacd2b2cee 100644 |
--- a/Source/core/dom/Text.idl |
+++ b/Source/core/dom/Text.idl |
@@ -23,7 +23,7 @@ |
Constructor(optional DOMString data = ""), |
ConstructorCallWith=Document, |
] interface Text : CharacterData { |
- [RaisesException] Text splitText(unsigned long offset); |
+ [NewObject, RaisesException] Text splitText(unsigned long offset); |
[MeasureAs=TextWholeText] readonly attribute DOMString wholeText; |
// FIXME: Text.getDestinationInsertionPoints() is not in the Shadow DOM spec. |