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

Unified Diff: Source/core/dom/MutationObserver.cpp

Issue 178473026: Have MutationObserverRegistration deal with references instead of pointers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 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
« no previous file with comments | « no previous file | Source/core/dom/MutationObserverRegistration.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/MutationObserver.cpp
diff --git a/Source/core/dom/MutationObserver.cpp b/Source/core/dom/MutationObserver.cpp
index ba2d25a36b938692157e5cf01a8f9a5e25d45ae5..6f4fb9ec0fe39db4359629b189ef4fc822bebdda 100644
--- a/Source/core/dom/MutationObserver.cpp
+++ b/Source/core/dom/MutationObserver.cpp
@@ -137,7 +137,7 @@ void MutationObserver::observe(Node* node, const Dictionary& optionsDictionary,
return;
}
- node->registerMutationObserver(this, options, attributeFilter);
+ node->registerMutationObserver(*this, options, attributeFilter);
}
Vector<RefPtr<MutationRecord> > MutationObserver::takeRecords()
« no previous file with comments | « no previous file | Source/core/dom/MutationObserverRegistration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698