Changeset 86365 in webkit


Ignore:
Timestamp:
May 12, 2011 11:33:00 AM (13 years ago)
Author:
rwlbuis@webkit.org
Message:

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:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r86364 r86365  
     12011-05-12  Rob Buis  <rbuis@rim.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        SVGStyledElement::resolveStyle(RenderStyle*) must be removed/fixed!
     6        https://bugs.webkit.org/show_bug.cgi?id=15479
     7
     8        Finally remove resolveStyle, it is not used anymore.
     9
     10        * svg/SVGStyledElement.cpp:
     11        (WebCore::SVGStyledElement::childrenChanged):
     12        * svg/SVGStyledElement.h:
     13
    1142011-05-12  Adam Barth  <abarth@webkit.org>
    215
  • trunk/Source/WebCore/svg/SVGStyledElement.cpp

    r85413 r86365  
    2626#include "Attr.h"
    2727#include "CSSParser.h"
    28 #include "CSSStyleSelector.h"
    2928#include "Document.h"
    3029#include "HTMLNames.h"
     
    406405}
    407406
    408 PassRefPtr<RenderStyle> SVGStyledElement::resolveStyle(RenderStyle* parentStyle)
    409 {
    410     if (renderer())
    411         return renderer()->style();
    412     return document()->styleSelector()->styleForElement(this, parentStyle);
    413 }
    414 
    415407PassRefPtr<CSSValue> SVGStyledElement::getPresentationAttribute(const String& name)
    416408{
  • trunk/Source/WebCore/svg/SVGStyledElement.h

    r85413 r86365  
    4646
    4747    bool isKnownAttribute(const QualifiedName&);
    48 
    49     // Centralized place to force a manual style resolution. Hacky but needed for now.
    50     PassRefPtr<RenderStyle> resolveStyle(RenderStyle* parentStyle);
    5148
    5249    bool instanceUpdatesBlocked() const;
Note: See TracChangeset for help on using the changeset viewer.