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

Unified Diff: Source/core/layout/svg/LayoutSVGResourcePaintServer.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
Index: Source/core/layout/svg/LayoutSVGResourcePaintServer.h
diff --git a/Source/core/layout/svg/LayoutSVGResourcePaintServer.h b/Source/core/layout/svg/LayoutSVGResourcePaintServer.h
index ef40ece382d05fd54b4dc2108482561d3e0d2107..651e00a965a1c3d5ad4d8dfb31b75343fde40e59 100644
--- a/Source/core/layout/svg/LayoutSVGResourcePaintServer.h
+++ b/Source/core/layout/svg/LayoutSVGResourcePaintServer.h
@@ -36,7 +36,7 @@ class GraphicsContext;
class GraphicsContextStateSaver;
class LayoutObject;
class LayoutSVGResourcePaintServer;
-class LayoutStyle;
+class ComputedStyle;
class SVGPaintServer {
public:
@@ -44,8 +44,8 @@ public:
explicit SVGPaintServer(PassRefPtr<Gradient>);
explicit SVGPaintServer(PassRefPtr<Pattern>);
- static SVGPaintServer requestForLayoutObject(const LayoutObject&, const LayoutStyle&, LayoutSVGResourceMode);
- static bool existsForLayoutObject(const LayoutObject&, const LayoutStyle&, LayoutSVGResourceMode);
+ static SVGPaintServer requestForLayoutObject(const LayoutObject&, const ComputedStyle&, LayoutSVGResourceMode);
+ static bool existsForLayoutObject(const LayoutObject&, const ComputedStyle&, LayoutSVGResourceMode);
void apply(GraphicsContext&, LayoutSVGResourceMode, float paintAlpha, GraphicsContextStateSaver&);
@@ -82,7 +82,7 @@ public:
virtual SVGPaintServer preparePaintServer(const LayoutObject&) = 0;
// Helper utilities used in to access the underlying resources for DRT.
- static SVGPaintDescription requestPaintDescription(const LayoutObject&, const LayoutStyle&, LayoutSVGResourceMode);
+ static SVGPaintDescription requestPaintDescription(const LayoutObject&, const ComputedStyle&, LayoutSVGResourceMode);
};
DEFINE_TYPE_CASTS(LayoutSVGResourcePaintServer, LayoutSVGResourceContainer, resource, resource->isSVGPaintServer(), resource.isSVGPaintServer());
« no previous file with comments | « Source/core/layout/svg/LayoutSVGResourceMasker.cpp ('k') | Source/core/layout/svg/LayoutSVGResourcePaintServer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698