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

Unified Diff: Source/core/layout/svg/LayoutSVGText.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/LayoutSVGText.h ('k') | Source/core/layout/svg/LayoutSVGTextPath.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGText.cpp
diff --git a/Source/core/layout/svg/LayoutSVGText.cpp b/Source/core/layout/svg/LayoutSVGText.cpp
index 0a1d592aa90a635bfddbd4a6734cc68eaf2023dd..e61e9f8401ce091637ba2f2534b3cf91b470f6aa 100644
--- a/Source/core/layout/svg/LayoutSVGText.cpp
+++ b/Source/core/layout/svg/LayoutSVGText.cpp
@@ -69,7 +69,7 @@ LayoutSVGText::~LayoutSVGText()
ASSERT(m_layoutAttributes.isEmpty());
}
-bool LayoutSVGText::isChildAllowed(LayoutObject* child, const LayoutStyle&) const
+bool LayoutSVGText::isChildAllowed(LayoutObject* child, const ComputedStyle&) const
{
return child->isSVGInline() || (child->isText() && SVGLayoutSupport::isLayoutableTextNode(child));
}
@@ -468,7 +468,7 @@ void LayoutSVGText::paint(const PaintInfo& paintInfo, const LayoutPoint&)
FloatRect LayoutSVGText::strokeBoundingBox() const
{
FloatRect strokeBoundaries = objectBoundingBox();
- const SVGLayoutStyle& svgStyle = style()->svgStyle();
+ const SVGComputedStyle& svgStyle = style()->svgStyle();
if (!svgStyle.hasStroke())
return strokeBoundaries;
« no previous file with comments | « Source/core/layout/svg/LayoutSVGText.h ('k') | Source/core/layout/svg/LayoutSVGTextPath.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698