| Index: Source/core/css/CSSTestHelper.cpp
|
| diff --git a/Source/core/css/CSSTestHelper.cpp b/Source/core/css/CSSTestHelper.cpp
|
| index d0fac9fa03aa49127fdfcf7bd441c12b7ec33795..3b24d9c75e44f8dcf59fabefacdb7c7815c7587b 100644
|
| --- a/Source/core/css/CSSTestHelper.cpp
|
| +++ b/Source/core/css/CSSTestHelper.cpp
|
| @@ -67,26 +67,4 @@ void CSSTestHelper::addCSSRules(const char* cssText)
|
| ASSERT_TRUE(m_styleSheet->length() > sheetLength);
|
| }
|
|
|
| -int CSSTestHelper::numRules(const RuleData* ruleData)
|
| -{
|
| - if (!ruleData)
|
| - return 0;
|
| - int count = 1;
|
| - while (!ruleData->isLastInArray()) {
|
| - ruleData++;
|
| - count++;
|
| - }
|
| - return count;
|
| -}
|
| -
|
| -const RuleData& CSSTestHelper::getRule(const RuleData* ruleData, int index)
|
| -{
|
| - int count = 0;
|
| - while (!ruleData->isLastInArray() && count < index) {
|
| - ruleData++;
|
| - count++;
|
| - }
|
| - return *ruleData;
|
| -}
|
| -
|
| } // namespace WebCore
|
|
|