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

Unified Diff: Source/core/layout/svg/SVGResourcesCache.cpp

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 9 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 | « Source/core/layout/svg/SVGResourcesCache.h ('k') | Source/core/layout/svg/SVGTextChunkBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/SVGResourcesCache.cpp
diff --git a/Source/core/layout/svg/SVGResourcesCache.cpp b/Source/core/layout/svg/SVGResourcesCache.cpp
index f0d87db5ea9a383bbc7940777d0ee7c44f7aacd2..d58b141e3e78a65a0e2c7808e9ab13784c6b63c9 100644
--- a/Source/core/layout/svg/SVGResourcesCache.cpp
+++ b/Source/core/layout/svg/SVGResourcesCache.cpp
@@ -36,12 +36,12 @@ SVGResourcesCache::~SVGResourcesCache()
{
}
-void SVGResourcesCache::addResourcesFromLayoutObject(LayoutObject* object, const LayoutStyle& style)
+void SVGResourcesCache::addResourcesFromLayoutObject(LayoutObject* object, const ComputedStyle& style)
{
ASSERT(object);
ASSERT(!m_cache.contains(object));
- const SVGLayoutStyle& svgStyle = style.svgStyle();
+ const SVGComputedStyle& svgStyle = style.svgStyle();
// Build a list of all resources associated with the passed LayoutObject
OwnPtr<SVGResources> newResources = SVGResources::buildResources(object, svgStyle);
@@ -112,7 +112,7 @@ static inline bool layoutObjectCanHaveResources(LayoutObject* layoutObject)
return layoutObject->node() && layoutObject->node()->isSVGElement() && !layoutObject->isSVGInlineText();
}
-void SVGResourcesCache::clientStyleChanged(LayoutObject* layoutObject, StyleDifference diff, const LayoutStyle& newStyle)
+void SVGResourcesCache::clientStyleChanged(LayoutObject* layoutObject, StyleDifference diff, const ComputedStyle& newStyle)
{
ASSERT(layoutObject);
ASSERT(layoutObject->node());
@@ -137,7 +137,7 @@ void SVGResourcesCache::clientStyleChanged(LayoutObject* layoutObject, StyleDiff
LayoutSVGResourceContainer::markForLayoutAndParentResourceInvalidation(layoutObject, false);
}
-void SVGResourcesCache::clientWasAddedToTree(LayoutObject* layoutObject, const LayoutStyle& newStyle)
+void SVGResourcesCache::clientWasAddedToTree(LayoutObject* layoutObject, const ComputedStyle& newStyle)
{
if (!layoutObject->node())
return;
« no previous file with comments | « Source/core/layout/svg/SVGResourcesCache.h ('k') | Source/core/layout/svg/SVGTextChunkBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698