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

Unified Diff: Source/core/css/CSSPrimitiveValue.idl

Issue 337343002: IDL: make optional arguments (without default) explicit sometimes Base URL: https://chromium.googlesource.com/chromium/blink.git@idl-default-arguments-next
Patch Set: Created 6 years, 4 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/css/CSSKeyframesRule.idl ('k') | Source/core/css/CSSStyleDeclaration.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSPrimitiveValue.idl
diff --git a/Source/core/css/CSSPrimitiveValue.idl b/Source/core/css/CSSPrimitiveValue.idl
index 06904da726eead47efd7092fe3ca6c1203c776f6..99b902d98778ac2c2168795f0c8b9e1c0dc4972e 100644
--- a/Source/core/css/CSSPrimitiveValue.idl
+++ b/Source/core/css/CSSPrimitiveValue.idl
@@ -54,11 +54,11 @@
readonly attribute unsigned short primitiveType;
- [RaisesException] void setFloatValue([Default=Undefined] optional unsigned short unitType,
- [Default=Undefined] optional float floatValue);
- [RaisesException] float getFloatValue([Default=Undefined] optional unsigned short unitType);
- [RaisesException] void setStringValue([Default=Undefined] optional unsigned short stringType,
- [Default=Undefined] optional DOMString stringValue);
+ [RaisesException] void setFloatValue(optional unsigned short unitType,
+ optional float floatValue);
+ [RaisesException] float getFloatValue(optional unsigned short unitType);
+ [RaisesException] void setStringValue(optional unsigned short stringType,
+ optional DOMString stringValue);
[RaisesException] DOMString getStringValue();
[RaisesException] Counter getCounterValue();
[RaisesException] Rect getRectValue();
« no previous file with comments | « Source/core/css/CSSKeyframesRule.idl ('k') | Source/core/css/CSSStyleDeclaration.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698