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

Unified Diff: Source/core/dom/MutationCallback.h

Issue 236653002: Oilpan: move mutation observers to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased + explicitly dispose() mutation observer registrations always (non-Oilpan also.) Created 6 years, 8 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: Source/core/dom/MutationCallback.h
diff --git a/Source/core/dom/MutationCallback.h b/Source/core/dom/MutationCallback.h
index 88f230bb35d3d106cdd198232253edcdf169f05b..9445becca8150fa469edee197379da2d57de4927 100644
--- a/Source/core/dom/MutationCallback.h
+++ b/Source/core/dom/MutationCallback.h
@@ -31,6 +31,7 @@
#ifndef MutationCallback_h
#define MutationCallback_h
+#include "platform/heap/Handle.h"
#include "wtf/RefPtr.h"
#include "wtf/Vector.h"
@@ -43,7 +44,7 @@ class MutationCallback {
public:
virtual ~MutationCallback() { }
- virtual void call(const Vector<RefPtr<MutationRecord> >&, MutationObserver*) = 0;
+ virtual void call(const WillBeHeapVector<RefPtrWillBeMember<MutationRecord> >&, MutationObserver*) = 0;
virtual ExecutionContext* executionContext() const = 0;
};

Powered by Google App Engine
This is Rietveld 408576698