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

Unified Diff: Source/core/svg/SVGLength.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/SVGFitToViewBox.idl ('k') | Source/core/svg/SVGLengthList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGLength.idl
diff --git a/Source/core/svg/SVGLength.idl b/Source/core/svg/SVGLength.idl
index 2b7b6e6beb451e6382652bd7053bb482a11ec0fe..97d9fead735875e12f136c8b152df6ef7dd9b0bb 100644
--- a/Source/core/svg/SVGLength.idl
+++ b/Source/core/svg/SVGLength.idl
@@ -22,7 +22,8 @@
[
ImplementedAs=SVGLengthTearOff,
- SetWrapperReferenceTo(SVGElement contextElement)
+ SetWrapperReferenceTo(SVGElement contextElement),
+ StrictTypeChecking,
] interface SVGLength {
// Length Unit Types
const unsigned short SVG_LENGTHTYPE_UNKNOWN = 0;
@@ -38,14 +39,13 @@
const unsigned short SVG_LENGTHTYPE_PC = 10;
readonly attribute unsigned short unitType;
- [StrictTypeChecking, RaisesException] attribute float value;
+ [RaisesException] attribute float value;
- [StrictTypeChecking, RaisesException=Setter] attribute float valueInSpecifiedUnits;
- [TreatNullAs=NullString, StrictTypeChecking, RaisesException=Setter] attribute DOMString valueAsString;
+ [RaisesException=Setter] attribute float valueInSpecifiedUnits;
+ [TreatNullAs=NullString, RaisesException=Setter] attribute DOMString valueAsString;
- [StrictTypeChecking, RaisesException] void newValueSpecifiedUnits(unsigned short unitType,
- float valueInSpecifiedUnits);
+ [RaisesException] void newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits);
- [StrictTypeChecking, RaisesException] void convertToSpecifiedUnits(unsigned short unitType);
+ [RaisesException] void convertToSpecifiedUnits(unsigned short unitType);
};
« no previous file with comments | « Source/core/svg/SVGFitToViewBox.idl ('k') | Source/core/svg/SVGLengthList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698