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

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

Issue 1176713003: Make the CSS interface members static (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updating as per review comments Created 5 years, 6 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/webexposed/global-interface-listing-expected.txt ('k') | Source/core/css/DOMWindowCSS.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSS.idl
diff --git a/Source/core/css/CSS.idl b/Source/core/css/CSS.idl
index 8bd0a8773c138c135e1f2dec536129bfd41be9c8..7e5e2e0a1210426034fecade77959f002f7e504e 100644
--- a/Source/core/css/CSS.idl
+++ b/Source/core/css/CSS.idl
@@ -30,11 +30,9 @@
// http://dev.w3.org/csswg/css-conditional/#the-css-interface
[
- NoInterfaceObject,
ImplementedAs=DOMWindowCSS,
WillBeGarbageCollected
] interface CSS {
- // TODO(philipj): The supports() methods should be static. crbug.com/496369
- boolean supports(DOMString property, DOMString value);
- boolean supports(DOMString conditionText);
+ static boolean supports(DOMString property, DOMString value);
+ static boolean supports(DOMString conditionText);
};
« no previous file with comments | « LayoutTests/webexposed/global-interface-listing-expected.txt ('k') | Source/core/css/DOMWindowCSS.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698