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

Unified Diff: Source/core/svg/SVGFEFloodElement.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/svg/SVGFEDropShadowElement.cpp ('k') | Source/core/svg/SVGFELightElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGFEFloodElement.cpp
diff --git a/Source/core/svg/SVGFEFloodElement.cpp b/Source/core/svg/SVGFEFloodElement.cpp
index 175c08227550b3836976a324472a0e7509584d50..59e0511fbeee0f58816cdfb55c3f364a96ce8dd7 100644
--- a/Source/core/svg/SVGFEFloodElement.cpp
+++ b/Source/core/svg/SVGFEFloodElement.cpp
@@ -23,8 +23,8 @@
#include "core/SVGNames.h"
#include "core/layout/LayoutObject.h"
-#include "core/layout/style/LayoutStyle.h"
-#include "core/layout/style/SVGLayoutStyle.h"
+#include "core/layout/style/ComputedStyle.h"
+#include "core/layout/style/SVGComputedStyle.h"
namespace blink {
@@ -39,7 +39,7 @@ bool SVGFEFloodElement::setFilterEffectAttribute(FilterEffect* effect, const Qua
{
LayoutObject* renderer = this->layoutObject();
ASSERT(renderer);
- const LayoutStyle& style = renderer->styleRef();
+ const ComputedStyle& style = renderer->styleRef();
FEFlood* flood = static_cast<FEFlood*>(effect);
if (attrName == SVGNames::flood_colorAttr)
@@ -58,7 +58,7 @@ PassRefPtrWillBeRawPtr<FilterEffect> SVGFEFloodElement::build(SVGFilterBuilder*,
return nullptr;
ASSERT(renderer->style());
- const SVGLayoutStyle& svgStyle = renderer->style()->svgStyle();
+ const SVGComputedStyle& svgStyle = renderer->style()->svgStyle();
Color color = svgStyle.floodColor();
float opacity = svgStyle.floodOpacity();
« no previous file with comments | « Source/core/svg/SVGFEDropShadowElement.cpp ('k') | Source/core/svg/SVGFELightElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698