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

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

Issue 141523002: Add null-correctness checking to [StrictTypeChecking] methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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
Index: Source/core/svg/SVGPointList.idl
diff --git a/Source/core/svg/SVGPointList.idl b/Source/core/svg/SVGPointList.idl
index f65d302aa09f91fa8caba033710b464c18e3c51f..915f902c9a00103db21cfe0a3b557e098f30af98 100644
--- a/Source/core/svg/SVGPointList.idl
+++ b/Source/core/svg/SVGPointList.idl
@@ -27,11 +27,11 @@ interface SVGPointList {
readonly attribute unsigned long numberOfItems;
[RaisesException] void clear();
- [StrictTypeChecking, RaisesException] SVGPoint initialize(SVGPoint item);
+ [StrictTypeChecking, RaisesException] SVGPoint initialize(SVGPoint? item);
[StrictTypeChecking, RaisesException] SVGPoint getItem(unsigned long index);
- [StrictTypeChecking, RaisesException] SVGPoint insertItemBefore(SVGPoint item, unsigned long index);
- [StrictTypeChecking, RaisesException] SVGPoint replaceItem(SVGPoint item, unsigned long index);
+ [StrictTypeChecking, RaisesException] SVGPoint insertItemBefore(SVGPoint? item, unsigned long index);
+ [StrictTypeChecking, RaisesException] SVGPoint replaceItem(SVGPoint? item, unsigned long index);
[StrictTypeChecking, RaisesException] SVGPoint removeItem(unsigned long index);
- [StrictTypeChecking, RaisesException] SVGPoint appendItem(SVGPoint item);
+ [StrictTypeChecking, RaisesException] SVGPoint appendItem(SVGPoint? item);
};

Powered by Google App Engine
This is Rietveld 408576698