Index: Source/core/svg/SVGAnimatedColor.cpp |
diff --git a/Source/core/svg/SVGAnimatedColor.cpp b/Source/core/svg/SVGAnimatedColor.cpp |
index 380f6202392ae35fecf3ccb16db4fc6cf8ba13d3..cde90910da07cac248fe095a9b2985acb3d96eef 100644 |
--- a/Source/core/svg/SVGAnimatedColor.cpp |
+++ b/Source/core/svg/SVGAnimatedColor.cpp |
@@ -21,7 +21,7 @@ |
#include "core/svg/SVGAnimatedColor.h" |
-#include "core/rendering/RenderObject.h" |
+#include "core/layout/LayoutObject.h" |
#include "core/svg/ColorDistance.h" |
#include "core/svg/SVGAnimateElement.h" |
@@ -42,10 +42,9 @@ PassRefPtrWillBeRawPtr<SVGPropertyBase> SVGColorProperty::cloneForAnimation(cons |
static inline Color fallbackColorForCurrentColor(SVGElement* targetElement) |
{ |
ASSERT(targetElement); |
- if (RenderObject* targetRenderer = targetElement->renderer()) |
+ if (LayoutObject* targetRenderer = targetElement->renderer()) |
return targetRenderer->resolveColor(CSSPropertyColor); |
- else |
- return Color::transparent; |
+ return Color::transparent; |
} |
void SVGColorProperty::add(PassRefPtrWillBeRawPtr<SVGPropertyBase> other, SVGElement* contextElement) |