Changeset 84871 in webkit


Ignore:
Timestamp:
Apr 25, 2011 8:14:21 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-04-25 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r84864.
http://trac.webkit.org/changeset/84864
https://bugs.webkit.org/show_bug.cgi?id=59413

Expect result of use-crash-in-non-wellformed-document.svg is
platform dependent (Requested by leoyang on #webkit).

  • svg/custom/use-crash-in-non-wellformed-document-expected.txt: Removed.
  • svg/custom/use-crash-in-non-wellformed-document.svg: Removed.

2011-04-25 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r84864.
http://trac.webkit.org/changeset/84864
https://bugs.webkit.org/show_bug.cgi?id=59413

Expect result of use-crash-in-non-wellformed-document.svg is
platform dependent (Requested by leoyang on #webkit).

  • svg/SVGUseElement.cpp: (WebCore::SVGUseElement::insertedIntoDocument):
Location:
trunk
Files:
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r84867 r84871  
     12011-04-25  Sheriff Bot  <webkit.review.bot@gmail.com>
     2
     3        Unreviewed, rolling out r84864.
     4        http://trac.webkit.org/changeset/84864
     5        https://bugs.webkit.org/show_bug.cgi?id=59413
     6
     7        Expect result of use-crash-in-non-wellformed-document.svg is
     8        platform dependent (Requested by leoyang on #webkit).
     9
     10        * svg/custom/use-crash-in-non-wellformed-document-expected.txt: Removed.
     11        * svg/custom/use-crash-in-non-wellformed-document.svg: Removed.
     12
    1132011-04-25  Dirk Pranke  <dpranke@chromium.org>
    214
  • trunk/Source/WebCore/ChangeLog

    r84864 r84871  
     12011-04-25  Sheriff Bot  <webkit.review.bot@gmail.com>
     2
     3        Unreviewed, rolling out r84864.
     4        http://trac.webkit.org/changeset/84864
     5        https://bugs.webkit.org/show_bug.cgi?id=59413
     6
     7        Expect result of use-crash-in-non-wellformed-document.svg is
     8        platform dependent (Requested by leoyang on #webkit).
     9
     10        * svg/SVGUseElement.cpp:
     11        (WebCore::SVGUseElement::insertedIntoDocument):
     12
    1132011-04-25  Leo Yang  <leo.yang@torchmobile.com.cn>
    214
  • trunk/Source/WebCore/svg/SVGUseElement.cpp

    r84864 r84871  
    128128}
    129129
    130 static inline bool isWellFormedDocument(Document* document)
    131 {
    132     if (document->isSVGDocument() || document->isXHTMLDocument())
    133         return static_cast<XMLDocumentParser*>(document->parser())->wellFormed();
    134     return true;
    135 }
    136 
    137130void SVGUseElement::insertedIntoDocument()
    138131{
    139132    // This functions exists to assure assumptions made in the code regarding SVGElementInstance creation/destruction are satisfied.
    140133    SVGStyledTransformableElement::insertedIntoDocument();
    141     ASSERT(!m_targetElementInstance || !isWellFormedDocument(document()));
    142     ASSERT(!m_isPendingResource || !isWellFormedDocument(document()));
     134    ASSERT(!m_targetElementInstance || ((document()->isSVGDocument() || document()->isXHTMLDocument()) && !static_cast<XMLDocumentParser*>(document()->parser())->wellFormed()));
     135    ASSERT(!m_isPendingResource);
    143136}
    144137
Note: See TracChangeset for help on using the changeset viewer.