Changeset 29850 in webkit


Ignore:
Timestamp:
Jan 29, 2008 2:22:21 PM (16 years ago)
Author:
eric@webkit.org
Message:

Reviewed by Nikolas.

Acid3 after double-attach
http://bugs.webkit.org/show_bug.cgi?id=17058

I believe SVGTextPathElement::buildPendingResource() was entirely
bogus, removing it did not cause any tests to fail.

Test: svg/custom/textPath-assert.svg

  • svg/SVGTextPathElement.cpp: (WebCore::SVGTextPathElement::insertedIntoDocument): remove buildPendingResource()
  • svg/SVGTextPathElement.h:
Location:
trunk
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r29848 r29850  
     12008-01-29  Eric Seidel  <eric@webkit.org>
     2
     3        Reviewed by Nikolas.
     4       
     5        Acid3 after double-attach
     6        http://bugs.webkit.org/show_bug.cgi?id=17058
     7
     8        * svg/custom/textPath-assert-expected.txt: Added.
     9        * svg/custom/textPath-assert.svg: Added.
     10
    1112008-01-29  Adam Roben  <aroben@apple.com>
    212
  • trunk/WebCore/ChangeLog

    r29849 r29850  
     12008-01-29  Eric Seidel  <eric@webkit.org>
     2
     3        Reviewed by Nikolas.
     4
     5        Acid3 after double-attach
     6        http://bugs.webkit.org/show_bug.cgi?id=17058
     7       
     8        I believe SVGTextPathElement::buildPendingResource() was entirely
     9        bogus, removing it did not cause any tests to fail.
     10
     11        Test: svg/custom/textPath-assert.svg
     12
     13        * svg/SVGTextPathElement.cpp:
     14        (WebCore::SVGTextPathElement::insertedIntoDocument): remove buildPendingResource()
     15        * svg/SVGTextPathElement.h:
     16
    1172008-01-29  Adam Roben  <aroben@apple.com>
    218
  • trunk/WebCore/svg/SVGTextPathElement.cpp

    r29663 r29850  
    100100        return;
    101101    }
    102 
    103     buildPendingResource();
    104 }
    105 
    106 void SVGTextPathElement::buildPendingResource()
    107 {
    108     // FIXME: Real logic here!
    109     if (attached())
    110         detach();
    111    
    112     ASSERT(!attached());
    113     attach();
    114102}
    115103
  • trunk/WebCore/svg/SVGTextPathElement.h

    r29663 r29850  
    6060 
    6161        virtual void insertedIntoDocument();
    62         virtual void buildPendingResource();
    6362
    6463        virtual void parseMappedAttribute(MappedAttribute* attr);
Note: See TracChangeset for help on using the changeset viewer.