Commit e12e3d44 authored by rwlbuis@webkit.org's avatar rwlbuis@webkit.org

2011-05-12 Rob Buis <rbuis@rim.com>

        Reviewed by Eric Seidel.

        SVGStyledElement::resolveStyle(RenderStyle*) must be removed/fixed!
        https://bugs.webkit.org/show_bug.cgi?id=15479

        Finally remove resolveStyle, it is not used anymore.

        * svg/SVGStyledElement.cpp:
        (WebCore::SVGStyledElement::childrenChanged):
        * svg/SVGStyledElement.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86365 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent c4d1975d
2011-05-12 Rob Buis <rbuis@rim.com>
Reviewed by Eric Seidel.
SVGStyledElement::resolveStyle(RenderStyle*) must be removed/fixed!
https://bugs.webkit.org/show_bug.cgi?id=15479
Finally remove resolveStyle, it is not used anymore.
* svg/SVGStyledElement.cpp:
(WebCore::SVGStyledElement::childrenChanged):
* svg/SVGStyledElement.h:
2011-05-12 Adam Barth <abarth@webkit.org>
Reviewed by Darin Adler.
......@@ -25,7 +25,6 @@
#include "Attr.h"
#include "CSSParser.h"
#include "CSSStyleSelector.h"
#include "Document.h"
#include "HTMLNames.h"
#include "PlatformString.h"
......@@ -405,13 +404,6 @@ void SVGStyledElement::childrenChanged(bool changedByParser, Node* beforeChange,
SVGElementInstance::invalidateAllInstancesOfElement(this);
}
PassRefPtr<RenderStyle> SVGStyledElement::resolveStyle(RenderStyle* parentStyle)
{
if (renderer())
return renderer()->style();
return document()->styleSelector()->styleForElement(this, parentStyle);
}
PassRefPtr<CSSValue> SVGStyledElement::getPresentationAttribute(const String& name)
{
if (!attributeMap())
......
......@@ -46,9 +46,6 @@ public:
bool isKnownAttribute(const QualifiedName&);
// Centralized place to force a manual style resolution. Hacky but needed for now.
PassRefPtr<RenderStyle> resolveStyle(RenderStyle* parentStyle);
bool instanceUpdatesBlocked() const;
void setInstanceUpdatesBlocked(bool);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment