Changeset 110452 in webkit


Ignore:
Timestamp:
Mar 12, 2012 12:00:41 PM (12 years ago)
Author:
cevans@google.com
Message:

Merge 108084
BUG=112411
Review URL: https://chromiumcodereview.appspot.com/9694004

Location:
branches/chromium/1025
Files:
2 edited
2 copied

Legend:

Unmodified
Added
Removed
  • branches/chromium/1025/LayoutTests/platform/chromium/test_expectations.txt

    r108519 r110452  
    903903BUGCR23463 LINUX WIN : svg/W3C-SVG-1.1/struct-symbol-01-b.svg = IMAGE+TEXT
    904904BUGCR23463 LINUX WIN : svg/W3C-SVG-1.1/struct-use-01-t.svg = PASS IMAGE+TEXT IMAGE
     905
     906// Crashes due to debug assert until we fix issues with style elements in SVG
     907BUGWK77764 DEBUG : svg/custom/use-referencing-style-crash.svg = CRASH
    905908
    906909// Merge 39744:39829 - regression
  • branches/chromium/1025/Source/WebCore/svg/SVGUseElement.cpp

    r109471 r110452  
    346346            shadowRoot->setNeedsStyleRecalc();
    347347    }
     348    // Do not do style calculation during shadow tree construction because it may cause nodes to
     349    // be attached before they should be. Style recalc will happen when the tree is constructed
     350    // and explicitly attached.
     351    if (m_updatesBlocked)
     352        return false;
    348353    return true;
    349354}
     
    352357{
    353358    // Assure that the shadow tree has not been marked for recreation, while we're building it.
    354     if (m_updatesBlocked)
    355         ASSERT(!m_needsShadowTreeRecreation);
     359    if (m_updatesBlocked && m_needsShadowTreeRecreation) {
     360        // We are about to recreate the tree while in the middle of recreating the tree.
     361        return;
     362    }
    356363
    357364    RenderSVGShadowTreeRootContainer* shadowRoot = static_cast<RenderSVGShadowTreeRootContainer*>(renderer());
Note: See TracChangeset for help on using the changeset viewer.