Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Unified Diff: Source/WebCore/css/StyleResolver.cpp

Issue 13853009: Reverting base class for CachedSVGDocumentReference to avoid platform layering violations Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/WebCore/loader/cache/CachedSVGDocumentReference.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/css/StyleResolver.cpp
diff --git a/Source/WebCore/css/StyleResolver.cpp b/Source/WebCore/css/StyleResolver.cpp
index 4fa74a033b150c04d95b687d6e1d010d50d1726b..4b453bb375a63426049fc94bb554f80828464f90 100644
--- a/Source/WebCore/css/StyleResolver.cpp
+++ b/Source/WebCore/css/StyleResolver.cpp
@@ -3767,7 +3767,7 @@ void StyleResolver::loadPendingSVGDocuments()
continue;
// Stash the CachedSVGDocument on the reference filter.
- referenceFilter->setCachedSVGDocumentReference(adoptPtr(new CachedSVGDocumentReference(cachedDocument)));
+ referenceFilter->setData(adoptPtr(new CachedSVGDocumentReference(cachedDocument)));
}
}
state.pendingSVGDocuments().clear();
@@ -4141,7 +4141,7 @@ bool StyleResolver::createFilterOperations(CSSValue* inValue, RenderStyle* style
if (!svgDocumentValue->loadRequested())
m_state.pendingSVGDocuments().set(operation.get(), svgDocumentValue);
else if (svgDocumentValue->cachedSVGDocument())
- operation->setCachedSVGDocumentReference(adoptPtr(new CachedSVGDocumentReference(svgDocumentValue->cachedSVGDocument())));
+ operation->setData(adoptPtr(new CachedSVGDocumentReference(svgDocumentValue->cachedSVGDocument())));
}
operations.operations().append(operation);
#endif
« no previous file with comments | « no previous file | Source/WebCore/loader/cache/CachedSVGDocumentReference.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698