| Index: third_party/WebKit/Source/core/css/StyleRule.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/StyleRule.cpp b/third_party/WebKit/Source/core/css/StyleRule.cpp
|
| index d1d8511f5e31b8938fe4fd222507d682edfbf996..ffc73fe80bc83c10d6dd96c826c9646bb7d9eb7e 100644
|
| --- a/third_party/WebKit/Source/core/css/StyleRule.cpp
|
| +++ b/third_party/WebKit/Source/core/css/StyleRule.cpp
|
| @@ -132,46 +132,6 @@ void StyleRuleBase::finalizeGarbageCollectedObject()
|
| ASSERT_NOT_REACHED();
|
| }
|
|
|
| -void StyleRuleBase::destroy()
|
| -{
|
| - switch (type()) {
|
| - case Charset:
|
| - delete toStyleRuleCharset(this);
|
| - return;
|
| - case Style:
|
| - delete toStyleRule(this);
|
| - return;
|
| - case Page:
|
| - delete toStyleRulePage(this);
|
| - return;
|
| - case FontFace:
|
| - delete toStyleRuleFontFace(this);
|
| - return;
|
| - case Media:
|
| - delete toStyleRuleMedia(this);
|
| - return;
|
| - case Supports:
|
| - delete toStyleRuleSupports(this);
|
| - return;
|
| - case Import:
|
| - delete toStyleRuleImport(this);
|
| - return;
|
| - case Keyframes:
|
| - delete toStyleRuleKeyframes(this);
|
| - return;
|
| - case Keyframe:
|
| - delete toStyleRuleKeyframe(this);
|
| - return;
|
| - case Namespace:
|
| - delete toStyleRuleNamespace(this);
|
| - return;
|
| - case Viewport:
|
| - delete toStyleRuleViewport(this);
|
| - return;
|
| - }
|
| - ASSERT_NOT_REACHED();
|
| -}
|
| -
|
| StyleRuleBase* StyleRuleBase::copy() const
|
| {
|
| switch (type()) {
|
|
|