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

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

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/SVGResources.cpp ('k') | Source/core/layout/svg/SVGResourcesCache.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/SVGResourcesCache.h
diff --git a/Source/core/layout/svg/SVGResourcesCache.h b/Source/core/layout/svg/SVGResourcesCache.h
index cb9dd98ebecc18adb27ed4883d585699244a3b31..fc9ebbdfec281ad6dd2d50683f9d1bc4ffb2bb8d 100644
--- a/Source/core/layout/svg/SVGResourcesCache.h
+++ b/Source/core/layout/svg/SVGResourcesCache.h
@@ -29,7 +29,7 @@
namespace blink {
class LayoutObject;
-class LayoutStyle;
+class ComputedStyle;
class LayoutSVGResourceContainer;
class SVGResources;
@@ -42,7 +42,7 @@ public:
static SVGResources* cachedResourcesForLayoutObject(const LayoutObject*);
// Called from all SVG layoutObjects addChild() methods.
- static void clientWasAddedToTree(LayoutObject*, const LayoutStyle& newStyle);
+ static void clientWasAddedToTree(LayoutObject*, const ComputedStyle& newStyle);
// Called from all SVG layoutObjects removeChild() methods.
static void clientWillBeRemovedFromTree(LayoutObject*);
@@ -54,13 +54,13 @@ public:
static void clientLayoutChanged(LayoutObject*);
// Called from all SVG layoutObjects styleDidChange() methods.
- static void clientStyleChanged(LayoutObject*, StyleDifference, const LayoutStyle& newStyle);
+ static void clientStyleChanged(LayoutObject*, StyleDifference, const ComputedStyle& newStyle);
// Called from LayoutSVGResourceContainer::willBeDestroyed().
static void resourceDestroyed(LayoutSVGResourceContainer*);
private:
- void addResourcesFromLayoutObject(LayoutObject*, const LayoutStyle&);
+ void addResourcesFromLayoutObject(LayoutObject*, const ComputedStyle&);
void removeResourcesFromLayoutObject(LayoutObject*);
typedef HashMap<const LayoutObject*, OwnPtr<SVGResources>> CacheMap;
« no previous file with comments | « Source/core/layout/svg/SVGResources.cpp ('k') | Source/core/layout/svg/SVGResourcesCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698