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

Unified Diff: third_party/WebKit/Source/core/html/HTMLDialogElement.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/html/HTMLDialogElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp b/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp
index 03fb8129857406affd47d07c2b7fba0bf6a5e853..8496675ded04a97e0aea9161c5660896d7274172 100644
--- a/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLDialogElement.cpp
@@ -171,9 +171,9 @@ void HTMLDialogElement::showModal(ExceptionState& exceptionState)
setFocusForDialog(this);
}
-void HTMLDialogElement::removedFrom(ContainerNode* insertionPoint)
+void HTMLDialogElement::removedFrom(ContainerNode* insertionPoint, Node* next)
{
- HTMLElement::removedFrom(insertionPoint);
+ HTMLElement::removedFrom(insertionPoint, next);
setNotCentered();
// FIXME: We should call inertSubtreesChanged() here.
}

Powered by Google App Engine
This is Rietveld 408576698