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

Unified Diff: third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h

Issue 2537223006: Cleanup after removal of the SVGViewSpec interface (Closed)
Patch Set: SVGViewSpec& Created 4 years 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 | « third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h
diff --git a/third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h b/third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h
index d023b4ba2a9006b020bb79dbd3c6162be99b182d..ff916e38e02f5a5a7122da57000e35fdd1648ae9 100644
--- a/third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h
+++ b/third_party/WebKit/Source/core/svg/properties/SVGPropertyTearOff.h
@@ -52,12 +52,7 @@ class SVGPropertyTearOffBase
}
bool isAnimVal() const { return m_propertyIsAnimVal == PropertyIsAnimVal; }
-
- bool isReadOnlyProperty() const { return m_isReadOnlyProperty; }
-
- void setIsReadOnlyProperty() { m_isReadOnlyProperty = true; }
-
- bool isImmutable() const { return isReadOnlyProperty() || isAnimVal(); }
+ bool isImmutable() const { return isAnimVal(); }
virtual void commitChange();
@@ -87,7 +82,6 @@ class SVGPropertyTearOffBase
const QualifiedName& attributeName = QualifiedName::null())
: m_contextElement(contextElement),
m_propertyIsAnimVal(propertyIsAnimVal),
- m_isReadOnlyProperty(false),
m_attributeName(attributeName) {}
private:
@@ -97,7 +91,6 @@ class SVGPropertyTearOffBase
UntracedMember<SVGElement> m_contextElement;
PropertyIsAnimValType m_propertyIsAnimVal;
- bool m_isReadOnlyProperty;
QualifiedName m_attributeName;
};
« no previous file with comments | « third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698