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

Unified Diff: Source/core/svg/SVGPathSegList.idl

Issue 146423002: Move [StrictTypeChecking] to interface (from members), where possible (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 11 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/svg/SVGPathSegLinetoVerticalRel.idl ('k') | Source/core/svg/SVGPathSegMovetoAbs.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegList.idl
diff --git a/Source/core/svg/SVGPathSegList.idl b/Source/core/svg/SVGPathSegList.idl
index 33f734e7e631f02b2a700c87972fbfa5c5c2542b..5214f9d22916874d86b408c3c9a921d402544b61 100644
--- a/Source/core/svg/SVGPathSegList.idl
+++ b/Source/core/svg/SVGPathSegList.idl
@@ -24,15 +24,16 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-interface SVGPathSegList {
+[
+ StrictTypeChecking,
+] interface SVGPathSegList {
readonly attribute unsigned long numberOfItems;
[RaisesException] void clear();
- [StrictTypeChecking, RaisesException] SVGPathSeg initialize(SVGPathSeg newItem);
- [StrictTypeChecking, RaisesException] SVGPathSeg getItem(unsigned long index);
- [StrictTypeChecking, RaisesException] SVGPathSeg insertItemBefore(SVGPathSeg newItem, unsigned long index);
- [StrictTypeChecking, RaisesException] SVGPathSeg replaceItem(SVGPathSeg newItem, unsigned long index);
- [StrictTypeChecking, RaisesException] SVGPathSeg removeItem(unsigned long index);
- [StrictTypeChecking, RaisesException] SVGPathSeg appendItem(SVGPathSeg newItem);
+ [RaisesException] SVGPathSeg initialize(SVGPathSeg newItem);
+ [RaisesException] SVGPathSeg getItem(unsigned long index);
+ [RaisesException] SVGPathSeg insertItemBefore(SVGPathSeg newItem, unsigned long index);
+ [RaisesException] SVGPathSeg replaceItem(SVGPathSeg newItem, unsigned long index);
+ [RaisesException] SVGPathSeg removeItem(unsigned long index);
+ [RaisesException] SVGPathSeg appendItem(SVGPathSeg newItem);
};
-
« no previous file with comments | « Source/core/svg/SVGPathSegLinetoVerticalRel.idl ('k') | Source/core/svg/SVGPathSegMovetoAbs.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698