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

Unified Diff: third_party/WebKit/Source/core/dom/Element.h

Issue 1511523002: Align HTMLImageElement relevant mutations to spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix removal issue when a text node is between <source> and <img> Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/Element.h
diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h
index 5a54f02f8c593c6a5ba010bac182c45e0f6444e6..39ea03a7a300b7b1fba649c4de1de31e935cc1a5 100644
--- a/third_party/WebKit/Source/core/dom/Element.h
+++ b/third_party/WebKit/Source/core/dom/Element.h
@@ -555,7 +555,7 @@ protected:
void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPropertyID, PassRefPtrWillBeRawPtr<CSSValue>);
InsertionNotificationRequest insertedInto(ContainerNode*) override;
- void removedFrom(ContainerNode*) override;
+ void removedFrom(ContainerNode* insertionPoint, Node* next) override;
void childrenChanged(const ChildrenChange&) override;
virtual void willRecalcStyle(StyleRecalcChange);
@@ -838,7 +838,7 @@ inline Node::InsertionNotificationRequest Node::insertedInto(ContainerNode* inse
return InsertionDone;
}
-inline void Node::removedFrom(ContainerNode* insertionPoint)
+inline void Node::removedFrom(ContainerNode* insertionPoint, Node* next)
{
ASSERT(insertionPoint->inDocument() || isContainerNode() || isInShadowTree());
if (insertionPoint->inDocument()) {

Powered by Google App Engine
This is Rietveld 408576698