Bug 62747

Summary: Try to use fastGetAttribute where possible
Product: WebKit Reporter: Rob Buis <rwlbuis>
Component: SVGAssignee: Rob Buis <rwlbuis>
Status: RESOLVED FIXED    
Severity: Normal CC: zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch darin: review+

Description Rob Buis 2011-06-15 12:39:22 PDT
From the comment in Element.h:

    // Call this to get the value of an attribute that is known not to be the style
    // attribute or one of the SVG animatable attributes.
    bool fastHasAttribute(const QualifiedName&) const;
    const AtomicString& fastGetAttribute(const QualifiedName&) const;

There are places in SVG where we do not need to call getAttribute but can use fastGetAttribute, fix that.
Comment 1 Rob Buis 2011-06-15 13:17:06 PDT
Created attachment 97353 [details]
Patch
Comment 2 Rob Buis 2011-06-15 18:54:55 PDT
Committed r88989: <http://trac.webkit.org/changeset/88989>