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

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

Issue 998673002: Add [NewObject] and [SameObject] to various interfaces (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « Source/core/dom/Range.idl ('k') | Source/core/dom/TreeWalker.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « Source/core/dom/Range.idl ('k') | Source/core/dom/TreeWalker.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698