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

Unified Diff: Source/core/css/DOMWindowCSS.cpp

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 | « Source/core/css/DOMWindowCSS.h ('k') | Source/core/frame/DOMWindow.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/DOMWindowCSS.cpp
diff --git a/Source/core/css/DOMWindowCSS.cpp b/Source/core/css/DOMWindowCSS.cpp
index c18b6e144b2479d2dc7177fe99b159b90bb70ae7..b4548f3cfc50c34898acff32b542465732437a67 100644
--- a/Source/core/css/DOMWindowCSS.cpp
+++ b/Source/core/css/DOMWindowCSS.cpp
@@ -37,12 +37,7 @@
namespace blink {
-PassRefPtrWillBeRawPtr<DOMWindowCSS> DOMWindowCSS::create()
-{
- return adoptRefWillBeNoop(new DOMWindowCSS());
-}
-
-bool DOMWindowCSS::supports(const String& property, const String& value) const
+bool DOMWindowCSS::supports(const String& property, const String& value)
{
CSSPropertyID unresolvedProperty = unresolvedCSSPropertyID(property);
if (unresolvedProperty == CSSPropertyInvalid)
@@ -54,7 +49,7 @@ bool DOMWindowCSS::supports(const String& property, const String& value) const
return CSSParser::parseValue(dummyStyle.get(), unresolvedProperty, value, false, HTMLStandardMode, 0);
}
-bool DOMWindowCSS::supports(const String& conditionText) const
+bool DOMWindowCSS::supports(const String& conditionText)
{
return CSSParser::parseSupportsCondition(conditionText);
}
« no previous file with comments | « Source/core/css/DOMWindowCSS.h ('k') | Source/core/frame/DOMWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698