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

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

Issue 2641803003: Introduce SynchronousMutationObserver::didChangeAttribute() (Closed)
Patch Set: 2017-01-20T14:34:58 Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index 75e7dc2bd9c6858f091c7370b8d62719833f01d8..13259a7764698e5722b2f3039907a95099f4b423 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -1297,6 +1297,7 @@ void Element::attributeChanged(const AttributeModificationParams& params) {
parseAttribute(params);
document().incDOMTreeVersion();
+ document().notifyChangeAttribute(*this);
if (name == HTMLNames::idAttr) {
AtomicString oldId = elementData()->idForStyleResolution();
« no previous file with comments | « third_party/WebKit/Source/core/dom/DocumentTest.cpp ('k') | third_party/WebKit/Source/core/dom/SynchronousMutationNotifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698