Index: Source/core/css/resolver/FilterOperationResolver.cpp |
diff --git a/Source/core/css/resolver/FilterOperationResolver.cpp b/Source/core/css/resolver/FilterOperationResolver.cpp |
index 39d0f95001ba6714fcb0da62395bcda6bbb3e54a..c6d6c624b7298177c065e2838f8708dda6ee12ee 100644 |
--- a/Source/core/css/resolver/FilterOperationResolver.cpp |
+++ b/Source/core/css/resolver/FilterOperationResolver.cpp |
@@ -398,10 +398,10 @@ bool FilterOperationResolver::createFilterOperations(CSSValue* inValue, const Re |
continue; |
CSSValue* argument = filterValue->itemWithoutBoundsCheck(0); |
- if (!argument->isCSSSVGDocumentValue()) |
+ if (!argument->isSVGDocumentValue()) |
continue; |
- CSSSVGDocumentValue* svgDocumentValue = static_cast<CSSSVGDocumentValue*>(argument); |
+ CSSSVGDocumentValue* svgDocumentValue = toCSSSVGDocumentValue(argument); |
KURL url = state.document().completeURL(svgDocumentValue->url()); |
RefPtr<ReferenceFilterOperation> operation = ReferenceFilterOperation::create(svgDocumentValue->url(), url.fragmentIdentifier(), operationType); |