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

Unified Diff: third_party/WebKit/Source/core/dom/SynchronousMutationNotifier.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/SynchronousMutationNotifier.cpp
diff --git a/third_party/WebKit/Source/core/dom/SynchronousMutationNotifier.cpp b/third_party/WebKit/Source/core/dom/SynchronousMutationNotifier.cpp
index 506cdb9409007cfba208fc809df03de25a270a0d..59474ecdcd7f28ecb058956b97a66f5a79ac84c7 100644
--- a/third_party/WebKit/Source/core/dom/SynchronousMutationNotifier.cpp
+++ b/third_party/WebKit/Source/core/dom/SynchronousMutationNotifier.cpp
@@ -11,6 +11,12 @@ namespace blink {
SynchronousMutationNotifier::SynchronousMutationNotifier() = default;
+void SynchronousMutationNotifier::notifyChangeAttribute(
+ const Element& element) {
+ for (SynchronousMutationObserver* observer : m_observers)
+ observer->didChangeAttribute(element);
+}
+
void SynchronousMutationNotifier::notifyChangeChildren(
const ContainerNode& container) {
for (SynchronousMutationObserver* observer : m_observers)

Powered by Google App Engine
This is Rietveld 408576698