Changeset 86365 in webkit
- Timestamp:
- May 12, 2011 11:33:00 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r86364 r86365 1 2011-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 1 14 2011-05-12 Adam Barth <abarth@webkit.org> 2 15 -
trunk/Source/WebCore/svg/SVGStyledElement.cpp
r85413 r86365 26 26 #include "Attr.h" 27 27 #include "CSSParser.h" 28 #include "CSSStyleSelector.h"29 28 #include "Document.h" 30 29 #include "HTMLNames.h" … … 406 405 } 407 406 408 PassRefPtr<RenderStyle> SVGStyledElement::resolveStyle(RenderStyle* parentStyle)409 {410 if (renderer())411 return renderer()->style();412 return document()->styleSelector()->styleForElement(this, parentStyle);413 }414 415 407 PassRefPtr<CSSValue> SVGStyledElement::getPresentationAttribute(const String& name) 416 408 { -
trunk/Source/WebCore/svg/SVGStyledElement.h
r85413 r86365 46 46 47 47 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);51 48 52 49 bool instanceUpdatesBlocked() const;
Note: See TracChangeset
for help on using the changeset viewer.