Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp |
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
index 2cfe368864871fa0ff9c64f8a2c15dfc50456082..222c33205baa930c3adfa2e98fbc00881dbdb0b1 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
@@ -1269,32 +1269,6 @@ const Vector<AppliedTextDecoration>& ComputedStyle::appliedTextDecorations() con |
return rareInheritedData->appliedTextDecorations->vector(); |
} |
-StyleVariableData* ComputedStyle::variables() const |
-{ |
- ASSERT(RuntimeEnabledFeatures::cssVariablesEnabled()); |
- return rareInheritedData->variables.get(); |
-} |
- |
-void ComputedStyle::setVariable(const AtomicString& name, PassRefPtr<CSSVariableData> value) |
-{ |
- RefPtr<StyleVariableData>& variables = rareInheritedData.access()->variables; |
- if (!variables) |
- variables = StyleVariableData::create(); |
- else if (!variables->hasOneRef()) |
- variables = variables->copy(); |
- variables->setVariable(name, value); |
-} |
- |
-void ComputedStyle::removeVariable(const AtomicString& name) |
-{ |
- RefPtr<StyleVariableData>& variables = rareInheritedData.access()->variables; |
- if (!variables) |
- return; |
- if (!variables->hasOneRef()) |
- variables = variables->copy(); |
- variables->removeVariable(name); |
-} |
- |
float ComputedStyle::wordSpacing() const { return fontDescription().wordSpacing(); } |
float ComputedStyle::letterSpacing() const { return fontDescription().letterSpacing(); } |