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

Unified Diff: third_party/WebKit/Source/core/dom/PseudoElement.cpp

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/PseudoElement.cpp
diff --git a/third_party/WebKit/Source/core/dom/PseudoElement.cpp b/third_party/WebKit/Source/core/dom/PseudoElement.cpp
index c8aba370cf65c89c850495243cd76a3b3480eb65..be6e5cc5e8298e217a3525dcfe899c720a396a67 100644
--- a/third_party/WebKit/Source/core/dom/PseudoElement.cpp
+++ b/third_party/WebKit/Source/core/dom/PseudoElement.cpp
@@ -112,7 +112,7 @@ void PseudoElement::dispose()
RefPtrWillBeRawPtr<Element> parent = parentOrShadowHostElement();
document().adoptIfNeeded(*this);
setParentOrShadowHostNode(0);
- removedFrom(parent.get());
+ removedFrom(parent.get(), nullptr);
}
void PseudoElement::attach(const AttachContext& context)

Powered by Google App Engine
This is Rietveld 408576698