Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(469)

Side by Side Diff: third_party/WebKit/Source/core/dom/Element.cpp

Issue 2107153002: SVG object with same idrefs get conflicted even they are under different shadow root Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename the method in TreeScope class Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Peter Kelly (pmk@post.com) 4 * (C) 2001 Peter Kelly (pmk@post.com)
5 * (C) 2001 Dirk Mueller (mueller@kde.org) 5 * (C) 2001 Dirk Mueller (mueller@kde.org)
6 * (C) 2007 David Smith (catfish.man@gmail.com) 6 * (C) 2007 David Smith (catfish.man@gmail.com)
7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved. 7 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc. All rights reserved.
8 * (C) 2007 Eric Seidel (eric@webkit.org) 8 * (C) 2007 Eric Seidel (eric@webkit.org)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 1486 matching lines...) Expand 10 before | Expand all | Expand 10 after
1497 if (!nameValue.isNull()) 1497 if (!nameValue.isNull())
1498 updateName(nameValue, nullAtom); 1498 updateName(nameValue, nullAtom);
1499 } 1499 }
1500 1500
1501 ContainerNode::removedFrom(insertionPoint); 1501 ContainerNode::removedFrom(insertionPoint);
1502 if (wasInDocument) { 1502 if (wasInDocument) {
1503 if (this == document().cssTarget()) 1503 if (this == document().cssTarget())
1504 document().setCSSTarget(nullptr); 1504 document().setCSSTarget(nullptr);
1505 1505
1506 if (hasPendingResources()) 1506 if (hasPendingResources())
1507 document().accessSVGExtensions().removeElementFromPendingResources(t his); 1507 treeScope().accessSVGTreeScopedResources().removeElementFromPendingR esources(this);
1508 1508
1509 if (getCustomElementState() == CustomElementState::Custom) 1509 if (getCustomElementState() == CustomElementState::Custom)
1510 CustomElement::enqueueDisconnectedCallback(this); 1510 CustomElement::enqueueDisconnectedCallback(this);
1511 else if (isUpgradedV0CustomElement()) 1511 else if (isUpgradedV0CustomElement())
1512 V0CustomElement::didDetach(this, insertionPoint->document()); 1512 V0CustomElement::didDetach(this, insertionPoint->document());
1513 1513
1514 if (needsStyleInvalidation()) 1514 if (needsStyleInvalidation())
1515 document().styleEngine().styleInvalidator().clearInvalidation(*this) ; 1515 document().styleEngine().styleInvalidator().clearInvalidation(*this) ;
1516 } 1516 }
1517 1517
(...skipping 2220 matching lines...) Expand 10 before | Expand all | Expand 10 after
3738 3738
3739 DEFINE_TRACE_WRAPPERS(Element) 3739 DEFINE_TRACE_WRAPPERS(Element)
3740 { 3740 {
3741 if (hasRareData()) { 3741 if (hasRareData()) {
3742 visitor->traceWrappers(elementRareData()); 3742 visitor->traceWrappers(elementRareData());
3743 } 3743 }
3744 ContainerNode::traceWrappers(visitor); 3744 ContainerNode::traceWrappers(visitor);
3745 } 3745 }
3746 3746
3747 } // namespace blink 3747 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/dom/TreeScope.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698