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

Unified Diff: third_party/WebKit/Source/core/svg/SVGStyleElement.cpp

Issue 2730413003: Remove non-standard API SVGStyleElement#disabled (Closed)
Patch Set: Fix webexposed in Layout tests Created 3 years, 9 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
Index: third_party/WebKit/Source/core/svg/SVGStyleElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGStyleElement.cpp b/third_party/WebKit/Source/core/svg/SVGStyleElement.cpp
index 4aef0259776210a1ef58ed9c996a667b24621824..a20b2553be7100d6b1a549b37f26055aa034c004 100644
--- a/third_party/WebKit/Source/core/svg/SVGStyleElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGStyleElement.cpp
@@ -42,18 +42,6 @@ SVGStyleElement* SVGStyleElement::create(Document& document,
return new SVGStyleElement(document, createdByParser);
}
-bool SVGStyleElement::disabled() const {
- if (!m_sheet)
- return false;
-
- return m_sheet->disabled();
-}
-
-void SVGStyleElement::setDisabled(bool setDisabled) {
- if (CSSStyleSheet* styleSheet = sheet())
- styleSheet->setDisabled(setDisabled);
-}
-
const AtomicString& SVGStyleElement::type() const {
DEFINE_STATIC_LOCAL(const AtomicString, defaultValue, ("text/css"));
const AtomicString& n = getAttribute(SVGNames::typeAttr);
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGStyleElement.h ('k') | third_party/WebKit/Source/core/svg/SVGStyleElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698