| Index: third_party/WebKit/Source/core/css/cssom/CSSUnparsedValue.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/cssom/CSSUnparsedValue.cpp b/third_party/WebKit/Source/core/css/cssom/CSSUnparsedValue.cpp
|
| index 695f35e9633a951d697aa918b24076d40c070827..f5e8180ec7bc68d8eccb3f524aaff1518eb0da07 100644
|
| --- a/third_party/WebKit/Source/core/css/cssom/CSSUnparsedValue.cpp
|
| +++ b/third_party/WebKit/Source/core/css/cssom/CSSUnparsedValue.cpp
|
| @@ -12,31 +12,6 @@ namespace blink {
|
|
|
| namespace {
|
|
|
| -class UnparsedValueIterationSource final
|
| - : public ValueIterable<StringOrCSSVariableReferenceValue>::IterationSource {
|
| - public:
|
| - explicit UnparsedValueIterationSource(CSSUnparsedValue* unparsedValue)
|
| - : m_unparsedValue(unparsedValue) {}
|
| -
|
| - bool next(ScriptState*,
|
| - StringOrCSSVariableReferenceValue& value,
|
| - ExceptionState&) override {
|
| - if (m_index >= m_unparsedValue->size())
|
| - return false;
|
| - value = m_unparsedValue->fragmentAtIndex(m_index);
|
| - return true;
|
| - }
|
| -
|
| - DEFINE_INLINE_VIRTUAL_TRACE() {
|
| - visitor->trace(m_unparsedValue);
|
| - ValueIterable<StringOrCSSVariableReferenceValue>::IterationSource::trace(
|
| - visitor);
|
| - }
|
| -
|
| - private:
|
| - const Member<CSSUnparsedValue> m_unparsedValue;
|
| -};
|
| -
|
| StringView findVariableName(CSSParserTokenRange& range) {
|
| range.consumeWhitespace();
|
| return range.consume().value();
|
| @@ -89,11 +64,6 @@ HeapVector<StringOrCSSVariableReferenceValue> parserTokenRangeToFragments(
|
|
|
| } // namespace
|
|
|
| -ValueIterable<StringOrCSSVariableReferenceValue>::IterationSource*
|
| -CSSUnparsedValue::startIteration(ScriptState*, ExceptionState&) {
|
| - return new UnparsedValueIterationSource(this);
|
| -}
|
| -
|
| CSSUnparsedValue* CSSUnparsedValue::fromCSSValue(
|
| const CSSVariableReferenceValue& cssVariableReferenceValue) {
|
| return CSSUnparsedValue::create(parserTokenRangeToFragments(
|
|
|