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

Unified Diff: sky/engine/core/editing/EditingStyle.cpp

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/editing/EditingStyle.h ('k') | sky/engine/core/editing/Editor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/editing/EditingStyle.cpp
diff --git a/sky/engine/core/editing/EditingStyle.cpp b/sky/engine/core/editing/EditingStyle.cpp
index c26490fff4a25a07d3a89ccc006d85c99061e285..1a239bc37974323883e525bda07d6a6e4f8efc20 100644
--- a/sky/engine/core/editing/EditingStyle.cpp
+++ b/sky/engine/core/editing/EditingStyle.cpp
@@ -165,8 +165,6 @@ public:
virtual bool valueIsPresentInStyle(HTMLElement*, StylePropertySet*) const;
virtual void addToStyle(Element*, EditingStyle*) const;
- virtual void trace(Visitor* visitor) { visitor->trace(m_primitiveValue); }
-
protected:
HTMLElementEquivalent(CSSPropertyID);
HTMLElementEquivalent(CSSPropertyID, const HTMLQualifiedName& tagName);
@@ -218,8 +216,6 @@ public:
virtual bool propertyExistsInStyle(const StylePropertySet*) const override;
virtual bool valueIsPresentInStyle(HTMLElement*, StylePropertySet*) const override;
- virtual void trace(Visitor* visitor) override { HTMLElementEquivalent::trace(visitor); }
-
private:
HTMLTextDecorationEquivalent(CSSValueID primitiveValue, const HTMLQualifiedName& tagName);
};
@@ -262,8 +258,6 @@ public:
virtual PassRefPtr<CSSValue> attributeValueAsCSSValue(Element*) const;
inline const QualifiedName& attributeName() const { return m_attrName; }
- virtual void trace(Visitor* visitor) override { HTMLElementEquivalent::trace(visitor); }
-
protected:
HTMLAttributeEquivalent(CSSPropertyID, const HTMLQualifiedName& tagName, const QualifiedName& attrName);
HTMLAttributeEquivalent(CSSPropertyID, const QualifiedName& attrName);
@@ -1266,11 +1260,6 @@ WritingDirection EditingStyle::textDirectionForSelection(const VisibleSelection&
return foundDirection;
}
-void EditingStyle::trace(Visitor* visitor)
-{
- visitor->trace(m_mutableStyle);
-}
-
static void reconcileTextDecorationProperties(MutableStylePropertySet* style)
{
RefPtr<CSSValue> textDecorationsInEffect = style->getPropertyCSSValue(CSSPropertyWebkitTextDecorationsInEffect);
« no previous file with comments | « sky/engine/core/editing/EditingStyle.h ('k') | sky/engine/core/editing/Editor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698