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

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

Issue 23531015: Make CSSHostRule.addRule() / deleteRule() arguments mandatory (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | « LayoutTests/fast/dom/shadow/css-hostrule-api-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSHostRule.idl
diff --git a/Source/core/css/CSSHostRule.idl b/Source/core/css/CSSHostRule.idl
index 237a051eedb0142725ace8259e0398ac476b0138..d86b73872418697cfcbaabcf13dd9cac884ab951 100644
--- a/Source/core/css/CSSHostRule.idl
+++ b/Source/core/css/CSSHostRule.idl
@@ -22,8 +22,7 @@
interface CSSHostRule : CSSRule {
readonly attribute CSSRuleList cssRules;
- [RaisesException] unsigned long insertRule([Default=Undefined] optional DOMString rule,
- [Default=Undefined] optional unsigned long index);
- [RaisesException] void deleteRule([Default=Undefined] optional unsigned long index);
+ [RaisesException] unsigned long insertRule(DOMString rule, unsigned long index);
+ [RaisesException] void deleteRule(unsigned long index);
};
« no previous file with comments | « LayoutTests/fast/dom/shadow/css-hostrule-api-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698